Sign in with Apple REST API

Apple documentation is specific about the possible types of email_verified property

A string or Boolean value that indicates whether the service verifies the email. The value can either be a string ("true" or "false") or a Boolean (true or false). The system may not verify email addresses for Sign in with Apple at Work & School users, and this claim is "false" or false for those users.

Actually we made a mistake by supporting only String type and today had the very bad surprise to notice that we started receiving Bool types for the first time.

Do you have any info about changes on the API ? Thanks

Julien

Answered by DTS Engineer in 815291022

Hi @oizhef, @HansonLI,

There are no changes on the API to discuss. Both string and Boolean values were always intended to be returned for the email_verified and is_private_email claims of the user's identifier token.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Yes, I also made a mistake today....

EmailVerified and IsPrivateEmail

Hi @oizhef, @HansonLI,

There are no changes on the API to discuss. Both string and Boolean values were always intended to be returned for the email_verified and is_private_email claims of the user's identifier token.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Sign in with Apple REST API
 
 
Q