Posts

Post not yet marked as solved
4 Replies
6.2k Views
TL;DR, how is the server-side of the app intended to obtain access to the name andemail of a user after they have completed the Sign in with Apple flow? We note that the email is present in a signed form in the `id_token` returned by the https://appleid.apple.com/auth/token endpoint [1]. However this appears to be only available to the server the first time a user logs in and not on subsequent login attempts. ([1] https://developer.apple.com/documentation/signinwithapplerestapi/generate_and_validate_tokens) In the case that the app failed to send the token to the server during the initial authorisation for some reasons(e.g. network connection failure or battery down), the server can never ever know the user's name/email through Sign in with Apple. Is it correct?If so, which means, it doesn't really matter what the user has opted for, share email or use private email,it also doesn't matter how we store the information and link to the user id,cause the server never had the chance to store the user information(name & email) in the first placehowever weirdly the client does get the email address on subsequent attemptsLooking for the guidance: How the server of the app intended to get the user's email through Sign in with Apple in a reliable way?
Posted
by victor_cm.
Last updated
.