Can I use my own UI to authenticate users with Azure AD B2C?

∥☆過路亽.° 提交于 2019-12-02 01:11:34

问题


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).

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.


回答1:


At this time, the only way to authenticate Azure AD B2C users is through the Azure AD B2C hosted UIs (either default or customized).

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.

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.



来源:https://stackoverflow.com/questions/46493650/can-i-use-my-own-ui-to-authenticate-users-with-azure-ad-b2c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!