/oauth/token
endpoint using the Token Exchange flow with the facebook-session-access-token
token type. If all goes well, Auth0 will return a normal response from the exchange, with the addition of the user profile. The user profile should be a JSON object, encoded as a string.
/oauth/token
. This is because the Facebook Session Access Token cannot be used to directly retrieve the profile, and the Facebook Access Token cannot be sent directly to the server, due to Apple’s AppStore Review Guidelines. Therefore, it must be retrieved in the client and sent to Auth0 in this fashion.
Given that Auth0 can’t guarantee that the user profile is the same that was returned by Facebook, it will set the email_verified
field to false
.