So currently trying to get Google OAuth working threw a webview however getting this error Disallowed useragent, was hoping for some guidance
I have already looked threw threads such as these to implement updated versions of there suggestions but nothing has worked so far was wondering if anyone had thoughts.
opened 02:07PM - 12 Dec 16 UTC
It seems that google has changed their OAuth requirements so that web views no l… onger 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 https://github.com/RocketChat/Rocket.Chat/issues/5103
https://www.reddit.com/r/ionic/comments/xyzx44/getting_error_403_disallowed_useragent_on_ionic/
Google doesn’t allow to use a WebView for OAuth.
You’ll have to use a dedicated OAuth/Google Auth plugin, or a plugin that uses google custom tabs on Android and Safari View Controller on iOS.
1 Like