Disallowed useragent using Google OAuth

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.

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