How to get email address from Azure AD B2C authentication?

ε祈祈猫儿з 提交于 2019-12-20 04:43:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!