使用 Azure AD B2C 上的自定义策略检测社交帐户存在流
Detect social account existence flow using custom policies on Azure AD B2C
我正在努力思考如何为以下流程实施自定义策略:
User lands on the login page and that login page only contains an email input.
User enters email address and clicks continue
if user has already registered
Redirected to their selected login provider (Google, Microsoft Account or Local Account)
if user has not registered before
Check google provider if a user account exists for that email address
if Google account exists
Redirect to Google login
Check Microsoft provider if a user account exists for that email address
if Microsoft account exists
Redirect to Microsoft login
else
Redirect to registration screen
User completes registration screen
User is automatically logged in
The user
我调查了这是否真的可以完成,我发现了一个“用于视觉协作的数字工作空间”(a.k.a Mural.co),它实际上实现了类似的流程,所以这必须是可能的。见下图。
但是,我找不到关于
的信息
- 如何查询社交提供者是否存在账户
- 如何在 Azure AD B2C 自定义策略中创建这种复杂类型的流程。
任何正确方向的指示将不胜感激
我正在努力思考如何为以下流程实施自定义策略:
User lands on the login page and that login page only contains an email input.
User enters email address and clicks continue
if user has already registered
Redirected to their selected login provider (Google, Microsoft Account or Local Account)
if user has not registered before
Check google provider if a user account exists for that email address
if Google account exists
Redirect to Google login
Check Microsoft provider if a user account exists for that email address
if Microsoft account exists
Redirect to Microsoft login
else
Redirect to registration screen
User completes registration screen
User is automatically logged in
The user
我调查了这是否真的可以完成,我发现了一个“用于视觉协作的数字工作空间”(a.k.a Mural.co),它实际上实现了类似的流程,所以这必须是可能的。见下图。
但是,我找不到关于
的信息- 如何查询社交提供者是否存在账户
- 如何在 Azure AD B2C 自定义策略中创建这种复杂类型的流程。
任何正确方向的指示将不胜感激