markbates/goth

Apple login fails if user decides not to share Apple ID

zdraganov opened this issue · 0 comments

Using the latest version of goth v1.79.0.

I found an error on some users attempting to login with Apple here and managed to reproduce it if on the step where apple asks you "Do you want to continue using App id for login with your Apple ID <apple_id_here>?" and you click cancel. If user clicks continue on this flow everything works smoothly.

Scopes that I use are name and email, and I see that we already have some users in the database with hidden emails.
Removing the scopes also do not helps.

The error comes from here

Anyone have idea what's going on?