GGizmos
GGizmos

Reputation: 3773

How to get email address from Azure AD B2C authentication?

I am trying to get Azure AD B2C to get the users email address but I don't see anything in the token that provides it, even though my signin/signup policy makes a "claim" on the users email address. How do you do I get the email address? More generally, is there any documentation other than the samples that explains how this service is intended to work?

Upvotes: 4

Views: 7027

Answers (1)

spottedmahn
spottedmahn

Reputation: 16001

Under application claims, check Email Addresses.

select application claims

Here's some documentation about selecting claims/setup.

Upvotes: 1

Related Questions