问题
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?
回答1:
Under application claims, check Email Addresses
.
Here's some documentation about selecting claims/setup.
来源:https://stackoverflow.com/questions/45808409/how-to-get-email-address-from-azure-ad-b2c-authentication