Closed jesuscovam closed 3 years ago
Manage to fix my error by directly mutating the awsconfig.oauth instead of spreading the object
awsconfig.oauth.redirectSignIn = 'http://localhost:3000/'
awsconfig.oauth.redirectSignOut = 'http://localhost:3000/'
Amplify.configure({
...awsconfig,
ssr: true,
})
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
I have searched for duplicate or closed issues and discussions. I have read the guide for submitting bug reports. I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
When I do a federated signing with Google it returns a redirect mismatch the first time and succeeds if a return the page and try again.
Expected behavior
It should show the list of google accounts to do sign in in the first try
Reproduction steps
I'm sorry the project is private
Code Snippet
Log output
aws-exports.js
Manual configuration