When using Sign in with Apple, the user profile value for the field “email_verified” is set as string “true” instead of just true.
Some encoders (like in GoLang) do have problems in unmarshalling fields that are of type boolean if the field is returned as string.
Wrong:
"email_verified":"true"
Right
"email_verified":true
We don’t have this problem with other social providers or regular email password authentication, which makes it more difficult as the encoder in Go can be configured to accept strings for booleans or booleans, but not both.
I resolved it with a custom auth0 action in the login flow. Code below. This seemed to be an issue only on auth0 android SDK (I was using flutter) with apple login. Makes sense that auth0 is not solving this, too low numbers
This is not only an issue with the Android SDK, i’ve got the same issue using the SPA SDK with Apple social login.
Seems like it’s been an issue for years but still no fix for it.