-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disallowed_useragent for Google on Android 9 #364
Comments
I'm wondering if this has something to do with the base OS? For Android 8 I'm using the "Google APIs" emulator, and 9 I'm not.. the UI looks much more simplistic on 9 (I'm not usually an android user), so I'm wondering if it would work differently if a different browser was installed? |
any solution? |
@juanriglos I used |
Thank you perry so you ejected from expo. There is any other solution? |
From https://github.com/openid/AppAuth-Android/releases Minor bug fixes: - Synchronizes multiple actions when requiring token refresh (FormidableLabs#332) - Make handling of non-standard expires_at more tolerant (FormidableLabs#336) - Changes related to Android tool changes between v25 and v27 (FormidableLabs#341, FormidableLabs#363) - Fix encoding of client ids and secrets for auth (FormidableLabs#345) - Handle CustomTabsSession.newSession failures (FormidableLabs#362) - Do not automatically pass scope on token exchange request (FormidableLabs#364) - Do not override tab title setting (FormidableLabs#365) - Respect default browser of the user correctly (FormidableLabs#379) - Updated custom tab definitions, including Firefox (FormidableLabs#378, FormidableLabs#383)
Hi 👋 - sorry for the late reply. I'm glad you managed to solve your issue. As for Expo - in order to use this library, you'll have to eject because it includes native code. |
Issue
I've gotten everything working on iOS - Google OAuth2 authentication - but I'm getting Google's
disallowed_useragent
error on Android:I'm using Android 9.0 in an emulator to test - If I test the same code on Android 8 the browser loads and I can authenticate, but the redirection is never captured or acknowledged.
It seems like the browser that is being launched is somehow broken/incorrect on Android 9?
Environment
The text was updated successfully, but these errors were encountered: