Rocket.Chat.ReactNative
Rocket.Chat.ReactNative copied to clipboard
[Bug] Rocket.Chat mobile app oauth trouble
Description:
We set up Keycloak as Oauth. Authorization works in clients on desktops, in the browser. But on mobile devices the following happens: After entering a login and password in the OUATH window, a redirect on the page with the text: login Completed. Click here to close this window. It does not happen about clicking, and when you press the cross goes to the tantle window of the logon chat.
Expected behavior:
The application is authorized
Server Setup Information:
- Version of Rocket.Chat Server: 4.0.1
- Operating System: ubuntu
- Deployment Method: docker
- Number of Running Instances: 2
- NodeJS Version: v12.22.1
- MongoDB Version: 4.2.17 / wiredTiger (oplog Enabled)
Client Setup Information
- Mobile App: 4.20
- Operating System: Android 10
Hey zebesh, I'm an enterprise client of RC and reported the bug after 4.0.0 is launched. They told me that they are currently working on the bug.
We are running a "normal" Rocket.Chat instance with auth via OAuth2 from Mailcow. We are experiencing the same issue with the latest android app as well as with the latest iOS app. Because of this issue we are having heavy problems in team communication of our community project.
Apparently this bug is still a thing. I'm running Android app v. 4.36.0.38053 and v. 3.8.7 server. And like others mentioned, after using OAuth screen to login to RocketChat, it just goes back to login screen. Other clients (Web, Linux Desktop) are working fine. Oh and for completeness: cleaning storage, cache or reinstalling app didn't work.
@Darkless012 We're going to need more info to fix this issue, since we have several types of login and they should all be working fine. Usually when we receive reports like yours, it's a misconfiguration on admin panel.
For me as well this is still an issue:
Rocket.Chat Version: 6.6.0
NodeJS Version: 14.21.3 - x64
MongoDB Version: 5.0.24
Commit Hash: 92a307ec3d
with Android App Version 4.46.1.57002
No OAuth Button for login in the mobile app only and the following log message when trying to connect:
{"level":40,"time":"...","pid":9,"hostname":"...","name":"DeprecationWarning","section":"API","msg":"The parameter \"query\" in the endpoint \"/api/v1/settings.public\" is deprecated and will be removed on version 7.0.0"}
Login from Web Browser works fine.
@3ronco
No OAuth Button for login in the mobile app only
This is not the issue people are mentioning on this issue. What's your login service configuration? I'm interested on how does it render on web, but not on mobile.
following log message when trying to connect
That's just a deprecation warning.
@diegolmello ooops sorry, how do i ended up here?! (maybe too much tabs) Obivously i meant #2109
@3ronco It's ok.