简体   繁体   English

Azure AD B2C,我们可以在应用程序内以编程方式将用户从应用程序注册/登录到 azure 广告吗?

[英]Azure AD B2C, can we programmatically sign up/sign in user from app to azure ad within the application?

I don't want the appilcation to open "login.microsftonline.com.".我不希望应用程序打开“login.microsftonline.com.”。 I want it to be within my application.我希望它在我的应用程序中。 My own url I want to use.我自己的 url 我想用。 Is that possible?那可能吗?

Example:例子:

Per my understanding, you want to implement your own frontend to sign in/sign up users.So generally, this frontend will collect users' information and call B2C APIs to finish the sign in/sign up process.根据我的理解,您想实现自己的前端来登录/注册用户。所以一般来说,这个前端会收集用户的信息并调用 B2C API 来完成登录/注册过程。

It is realizable, for sigin in users, you can use Azure B2C ROPC flow .可以实现,对于登录用户,可以使用Azure B2C ROPC flow You can sigin users by users' username and password via REST API calling.您可以通过 REST API 调用通过用户的用户名和密码登录用户。 Details see here . 详情见这里

For sign up users, you can use Azure AD Graph API to do that, details, you can refer to this official doc .对于注册用户,您可以使用 Azure AD Graph API 来执行此操作,详细信息,您可以参考这个官方文档

If you have any further concerns, pls feel free to let me know.如果您有任何进一步的疑虑,请随时告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM