我可以使用自己的UI通过Azure AD B2C对用户进行身份验证吗? [英] Can I use my own UI to authenticate users with Azure AD B2C?

查看:74
本文介绍了我可以使用自己的UI通过Azure AD B2C对用户进行身份验证吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Azure AD B2C对Angular2单页应用程序的用户进行身份验证.我知道我可以使用与每个Azure AD B2C策略关联的UI(默认或自定义).由于多种原因,我对Azure AD B2C UI(或自定义它的工作量)不满意.

I am trying to use Azure AD B2C to authenticate users of an Angular2 single-page app. I understand I can use the UI (either default or customized) that is associated with each Azure AD B2C policy. For a number of reasons I am not happy with the Azure AD B2C UI (or the effort required to customize it).

因此,我想在自己的应用程序中使用自己的UI,该UI只会调用Azure AD B2C.那可能吗?如果是这样,怎么办?我已经看过Azure AD B2C自定义策略,但是不确定这些是否仍使用默认(或自定义)Azure AD B2C UI.

Therefore I'd like to use my own UI within my app that would just make calls to Azure AD B2C. Is that possible? If so, how? I have looked at Azure AD B2C Custom Policies, but I an not sure if those still use the default (or customized) Azure AD B2C UI.

推荐答案

目前,验证Azure AD B2C用户的唯一方法是通过Azure AD B2C托管的UI(默认或自定义).

如果您要完全创建自己的数据库并向B2C"进行API调用"以获取令牌,则可以使用Azure AD B2C不支持的OAuth资源所有者密码授予

If you want to completely create your own and "make an API call" to B2C to get a token, you'd be using the OAuth Resource Owner Password Grant which Azure AD B2C does not support yet.

您可以通过在Azure AD B2C反馈论坛中对该功能进行投票来支持此功能,以询问并获取其进度的最新信息:

You can support this feature ask and get updates on its progress by voting for it in the Azure AD B2C feedback forum: Add support for Resource Owner Password Credentials flow in Azure AD B2C.

这篇关于我可以使用自己的UI通过Azure AD B2C对用户进行身份验证吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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