在Azure B2C中,如何限制用户通过社交媒体(gmail)和本地帐户(电子邮件)使用同一电子邮件注册/登录 [英] In Azure B2C how to restrict user from signing up/in with same email through social media(gmail) and Local Account(Email)

查看:81
本文介绍了在Azure B2C中,如何限制用户通过社交媒体(gmail)和本地帐户(电子邮件)使用同一电子邮件注册/登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用中遇到了这个问题,天青让用户通过电子邮件和社交媒体(使用注册的电子邮件)进行注册.因此,有两个用户具有相同的电子邮件ID.

I came across this issue in my app, that azure is letting user register themselves from email and social media (using registered email) both. Thus there are two users with same email Id.

你们能帮我这个忙吗? 谢谢.

Can you guys help me out in this one? Thank you.

推荐答案

到目前为止,在基本策略中,这是不可能的.但是在高级策略(IEF)中,您可以通过调用API来使用Graph API检查用户电子邮件是否存在并返回成功或异常,从而达到目的.

As of now in basic policies, it is not possible. But in advanced policies (IEF) you can make a trick by calling an API to check user email existence using Graph APIs and return success or exception.

路线图中有一个帐户关联功能,您可以在

There is an account linking feature which is in the roadmap and you can vote for that at https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/13214529-azure-ad-b2c-how-to-avoid-validate-duplicate-s

这篇关于在Azure B2C中,如何限制用户通过社交媒体(gmail)和本地帐户(电子邮件)使用同一电子邮件注册/登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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