本文介绍了如何从 Azure AD B2C 身份验证获取电子邮件地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试让 Azure AD B2C 获取用户电子邮件地址,但我在提供它的令牌中看不到任何内容,即使我的登录/注册策略对用户电子邮件地址进行了声明".你如何获得电子邮件地址?更一般地说,除了示例之外,是否还有其他文档可以解释该服务的工作原理?
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?
推荐答案
在应用程序声明下,检查Email Addresses
.
Under application claims, check Email Addresses
.
这里有一些 有关选择声明/设置的文档.
这篇关于如何从 Azure AD B2C 身份验证获取电子邮件地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!