Closed tamerkalieh closed 2 years ago
@tamerkalieh did you manage to fix this issue ? it still prevents us from updating to this day.
@tamerkalieh did you sign up for your app with the user before mapping the attributes? You may have to delete the app from the user's Apple ID and then sign up again as Apple only allows access to user information on the first sign in.
Possibly related to, or duplicate of, this issue: https://github.com/aws-amplify/amplify-js/issues/8976
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
Vue
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
I am currently trying to implement SignInWithApple in my website. The authentication works and I can log in, get the logged in user and can log the user out. But in the object of the user session I don't get the first_name & last_name information.
Expected behavior
Retrieve the first & last name of the signed in user
Reproduction steps
"aws-amplify": "4.3.8"
Code Snippet
Getting the user authenticated user with:
Log output
If I console.log the current authenticated user, I get a bunch of data but where I expect the first & last name to be, I get the user email and some other data.
aws-exports.js
No response
Manual configuration
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