Skip to content

Using email + password flow and social networks #1691

Answered by vinckr
Amarantine84 asked this question in Q&A
Discussion options

You must be logged in to vote

I could not find anything directly related to this in the docs either. It does say:
// It is assumed that Facebook requires an email to be verified before accessible via Oauth (because they don't provide an email_verified field).

I thought this means that all FB accounts that are accessible via OAuth require an email. But apparently, you can use OAuth without having an email added to your profile, is that correct?
Could you use phone_number in claims if they don't have an email set?
PhoneNumber stringjson:"phone_number,omitempty"``

The identity would look like
{ "sub": "some-identity-id-4hA8gk", "phone_number": "123456576567", "website": "https://www.ory.sh"}
instead of
{ "sub": "som…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Amarantine84
Comment options

Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants