Redirect after social provider sign in doesn't work [Android only] #14058
Labels
Auth
Related to Auth components/category
pending-maintainer-response
Issue is pending a response from the Amplify team.
question
General question
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
Amplify Gen 2
Environment information
Describe the bug
Hi,
I've added sign in with social providers (Google and Apple) as suggested in the documentation and everything works fine on iOS but on Android (both emulator and real device) the redirect back to the app after successful account selection doesn't work. For example with Google, once the browser opens and I select the account it stays in infinite loading forever, see below image:
If I close the browser and trigger again
signInWithRedirect({ provider: 'Google' })
the browser opens with a blank page, see below image:Have I missed any additional Android configuration?
Expected behavior
I'd expect once the account is selected to redirect back to the app with a successful sign in, just as it happens on iOS.
Reproduction steps
Code Snippet
My auth definition:
Triggering sign in:
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: