Search code examples
reactjsfirebasefirebase-authenticationoauthgoogle-oauth

Oauth authorization in app browser - 403 disallowed_useragent error


Is there any workaround that allows login via a popup when a user tries to use a web application in another application browser such as fb messenger or linkedin? I am looking for a workaround for the 403 disallowed_useragent error when they try to log in. Do you know of any solution that will allow the user to log in? (Other than one that requires the user to enter the address in a real browser). I am using the signInWithPopup method.

enter image description here

On the Internet, I could not find anything that could meet my requirements.


Solution

  • The oauth2 consent screen must be opened in the system browser. It can't be open in a WebView from within another application

    There is no way around this