Google Blocks SSO Sign-up and Login through Embedded Browsers

Overview

A user cannot sign in or login through an embedded browser (e. g. from Facebook Messenger). The below error is displayed: 

 

403 error disallowed_useragent.

Applies To

  • Login
  • Embedded Browsers
  • 403 error

Cause

Google OAuth does not work in embedded browser per policy. See this document for reference.

There are risks when implementing a login from an embedded WebView. Full documentation here.

 

Solution

The workaround is to use one of the alternatives recommended in the link, like Chrome Custom Tabs. The possible explanation for why it works in some cases could be related to each user's mobile configuration, whether they have Chrome as their default browser app.

Related references:

Recommended content

No recommended content found...