Closed alan-cooney closed 2 years ago
Hi @alan-cooney 👋 are you using the ui components from the aws-amplify-react
? We've since put this package into maintenance mode and have released a new Amplify UI Library which we'd recommend using instead.
There are issues with using aws-amplify-react
where its peer dependencies, pinned to older versions of amplify packages, are installed and cause multiple instances of Amplify and its modules to be initialized, resulting in unpredictable behavior.
Please try removing that package, using the new ui library instead, and let me know if this helps.
In the meantime I will reproduce this issue and see if happens with the latest versions of our packages.
Hi @chrisbonifacio - I've removed that now and the issue still persists. You can also see the issue live by logging in at www.skyhookadventure.com with a google account that has no family name/last name set
Hi @alan-cooney I tried logging into the site you linked and it seemed to work. Let me know if you're still experiencing issues.
Hi 👋 Closing this as we have not heard back from you. If you are still experiencing this issue and in need of assistance, please feel free to comment and provide us with any information previously requested by our team members so we can re-open this issue and be better able to assist you. Thank you!
Hi, a similar issue is happening here. So far is consistent with the following scenario:
[ERROR] 56:34.742 OAuth - Error handling auth response. [Error: Invalid+user+attributes%3A+name%3A+The+attribute+is+required%0A+]
The only way so far to get rid of that error is going to https://appleid.apple.com/ and manually delete the permission granted to the app.
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 amplify-help
forum.
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
When using social login (e.g. Google) we occasionally get an error whereby the user has not set an attribute that we require with Cognito (e.g. family_name). This throws an unhandled error which crashes the page.
Expected behavior
The error should be handled and emitted with a
Hub
authsignIn_failure
event.Reproduction steps
Code Snippet
No response
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