I am implementing Sign in with Apple using the JS framework.
When the user (me, right now) signs in for the first time, I get data I need!
The parameters look like this
Parameters:
{"state"=>"[state]", "code"=>"[code]", "id_token"=> "[jws token]", "user"=>"{\"email\":\"[the email I need]\"}"}
My scope is just "email," I don't need (or want) their name.
Next, I try signing in again (same everything)
But, I get this option
When I click "continue" the data looks like this
Parameters:
{"state"=>"[state]", "code"=>"[code]", "id_token"=> "[id token]"}
As you can tell, there is no user object, no email, nothing I can use!
If I do the code response and get an access token, I can't use it. There's no public, known endpoints to just get the email they used. There's no point in storing the email if I can never check for it the next time they sign in.
This is happening on multiple browsers on macOS 10.14.4.
On my iPhone running iOS 13 developer beta 3, every time I click the button, I get the option to "share" or "hide" my email (even though, as shown above, I've sign in before), and sharing the email actually shares it, while hiding it.. well hides it.
However, the user data is always there.
This bug(?) only appears when clicking Continue, which I can assume appears on devices that aren't running iOS 13. It's quite a problem on devices that aren't this small set of devices, so I hope this is either known, easily fixable, or something! Thanks for any help you can provide.