# Preventing users to get 403 disallowed\_useragent Google error

**URL:** <https://community.auth0.com/t/preventing-users-to-get-403-disallowed-useragent-google-error/84342>\
**Category:** Get Help\
**Tags:** react-native\
**Created:** [May 31, 2022, 6:56pm UTC](https://community.auth0.com/t/preventing-users-to-get-403-disallowed-useragent-google-error/84342 "2022-05-31T18:56:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmpersichini](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmpersichini/32/33480_2.png) [@jmpersichini](https://community.auth0.com/u/jmpersichini)\
**Post date:** [May 31, 2022, 6:56pm UTC](https://community.auth0.com/t/preventing-users-to-get-403-disallowed-useragent-google-error/84342/1 "2022-05-31T18:56:39Z")

</div>

- Which SDK this is regarding: react-native-auth0
- SDK Version: 2.9.0 // react-native: 0.66.0
- Platform Version: Android 11

Hello, I am getting a 403 disallowed\_useragent error when some users try to authenticate using Google from my react-native app, using webAuth. As I searched, this is related to the browser app installed in the user device.

I can reproduce this issue using an Android 11 emulator disabling the Chrome browser, so the OS uses the WebView Browser Tester. If I let Chrome browser enabled, everything works OK.

So my question is: Is there a way to check if the browser installed in the user device supports Google Auth? So I can tell the user to update/install his browser if necessary.

Thanks!

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [November 15, 2024, 11:03pm UTC](https://community.auth0.com/t/preventing-users-to-get-403-disallowed-useragent-google-error/84342/2 "2024-11-15T23:03:46Z")

</div>

Hi @jmpersichini,

As you have identified, this error arises because Google blocks login attempts from Webview/Embedded browsers. Unfortunately, this restriction is from Google and can’t be configured from the Auth0 side. Instead, you can configure your app to direct the user to use the system’s browser to complete the authentication.

These Community posts should help:

- ["Error 403: disallowed\_useragent." when Using Google Sign In](https://community.auth0.com/t/disallowed-useragent-403-error-with-google-sign-in/88866)
- [PKCE Google Login error disallowed\_useragent - #2 by nicolas\_sabena](https://community.auth0.com/t/pkce-google-login-error-disallowed-useragent/23584/2)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 29, 2024, 11:04pm UTC](https://community.auth0.com/t/preventing-users-to-get-403-disallowed-useragent-google-error/84342/3 "2024-11-29T23:04:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
