Disallowed_useragent 403 error with Google sign in

Problem Statement

When trying to log in via Google social connection on mobile using a webview/embedded browser, users receive an error from Google:

Error 403: disallowed_useragent



Solution

Google blocks log-in attempts from webviews/embedded browsers.

Our latest SDKs should be using the device browser. But if changes were made to use an embedded browser, or the user is being directed to a website from within a 3rd party application that uses webviews for weblinks, then this issue can arise.

References: