Closed olongino closed 3 years ago
I had this issue too. What happened was I signed into my app with out the scope set the first time. I then added the scope later and could never get the email of my account. It turns out the first time you sign in, you keep the scope of the initial sign in. To fix this I had to logout/forget my app and sign in again as a first time user with the scope set to email. After this I was able to get my user data. This might be a user setting issue rather and issue with the code.
@olongino Apple Sign In only returns the user data (email, name) the first time a user signs into your app with Apple. After that, no user data is provided. I would recommend storing the user info in localStorage or somewhere so that it can be accessed later if needed.
i have same problem !!
@aryanm5 @AbanoubEMhanna This is how apple works,
Apple gives data only first time, then you have to save those data in DB along with id_token/code so next time when you have id_token you can identify the user and do login.
Hi I have a event with the library so when use and do login with apple I don't recive the user email and data name and lastName, can your help me if the implementation is correct or there is a issue, this is my code
The library only response with:
But in the documentation say that response is with tha user data: email, name and lastname