如何从Azure AD B2C身份验证获取电子邮件地址? [英] How to get email address from Azure AD B2C authentication?

查看:80
本文介绍了如何从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.

以下是一些 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆