13
Views
5
Comments
Error 403 disallowed_useragent
Question

I have implemented Google Sign IN in the mobile app. It is working fine in the browser but getting error while running app  in the physical device.

"Error 403: disallowed_useragent"

How to fix it?

Thanks

mvp_badge
MVP
Rank: #18

Hi Ajay Singh Thakur,

How have you implemented Google Sign In in your mobile app?

mvp_badge
MVP
Rank: #18

What browser are you using on your device? or are you using a native application? It seems Google doesn't trust the source application for your request.

I found this as a possible workaround, not sure it will work though...

Hope this helps!

Rank: #416

see https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html or https://support.google.com/websearch/thread/18266262?hl=en. Using Google OAuth isn't supported within Mobile Apps anymore. You have to use/open the build-in native browser (and perhaps want to have a deeplink to your mobile app which want to login)

Regards Hans