-
Notifications
You must be signed in to change notification settings - Fork 109
Disallowed useragent using Google OAuth #159
Comments
We are also seeing this message on iOS devices with Google oAuth. This is a real issue for us as we are only using Google oAuth for Rocket.Chat. Android app still appears to work. |
Any solution for this issue found? My app is blocked with this issue. |
We've just released a blog post how to solve that issue on Android and iOS. Maybe it helps. https://cloudrail.com/solving-disallowed_useragent-for-google-services/ |
@Sravanik84 you can override the user agent in config.xml Just add this to your config.xml, worked for me.
|
Thanks for that workaround @felixkm. I would like to see this solved by RocketChat though. |
+1 |
+1 Are we gonna have a version with that change? In our company we only use Gmail with OAUTH, and is really annoying to use the Web Version in your phone. |
@IsraelSistemas Thank for that suggestion. The error disappeared. =) I also have the Facebook oauth integration in my app, but the facebook oauth page now does not load the mobile version. It loads the webpage. Any suggestion? EDIT |
Facebook and twitter providing there services to app also. |
Any progress on this issue? I'm in the process of working on a deployment for switching my entire studio from Slack to RocketChat and this is a blocker from us proceeding. Found a workaround temporarily. If you have oauth authentication working already, you can add a password to the user and then login using those credentials rather than oauth. So the bulk of the users can simply use oauth, but ones that need mobile can have the workaround. |
Same issues coming from google calendar api. what will do? Can you pls tell suggestion. I have used swift3 |
Same here - currently it's impossible to log in with Google Oauth. This makes this app useless also for android devices. |
@IsraelSistemas thank's this realy working. |
@IsraelSistemas your fix really worked for google login but introduced some other issues. As @napcat mentioned, facebook login page does not load mobile view. Also I have admob ads which does not get any ad data after this change. |
How should we work around this issue on iPhone? Given that this is the only ios device I have |
Facing same error in SocialAuth Android |
override useragent with above string it will works |
@Israelsystemas where do i put that inside my config.xls? |
I meant Xml and idk how to edit. Oops |
@napcat Do you solved it ? |
We tried both and results in same issue. Please let me know how to resolve this issue.
|
solved with |
@IsraelSistemas you saved my day..thank you |
Thank you too
…Sent from my iPhone
On Aug 12, 2018, at 22:01, Ahmed El Sheikh ***@***.***> wrote:
@IsraelSistemas you saved my day..thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
+1 |
It seems that google has changed their OAuth requirements so that web views no longer work.
http://stackoverflow.com/questions/40591090/403-error-thats-an-error-error-disallowed-useragent
https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
This issue is causing us not to be able to use the rocket.chat app on any IOS devices. We recieve the following after clicking on the google login button on the login screen.
Rocket.Chat Server version 0.46.0
Originally posted on RocketChat/Rocket.Chat#5103
The text was updated successfully, but these errors were encountered: