简体   繁体   English

Active Directory B2C 的服务器端登录

[英]Server side login for Active Directory B2C

I would like to communicate with the Active Directory B2C from my backend to manage users.我想从我的后端与 Active Directory B2C 通信以管理用户。 This seems possible here: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0这在这里似乎是可能的: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0

However, I don't see how to get a login token (or cookies) for a user so the server can send it back to the front-end to have it logged-in.但是,我看不到如何为用户获取登录令牌(或 cookie),以便服务器可以将其发送回前端以使其登录。 How is it possible to implement this scenario?如何实现这种场景?

I have seen this link but it refer to OAuth.我看过这个链接,但它指的是 OAuth。 https://docs.microsoft.com/en-us/azure/active-directory-b2c/add-ropc-policy?tabs=app-reg-ga&pivots=b2c-custom-policy https://docs.microsoft.com/en-us/azure/active-directory-b2c/add-ropc-policy?tabs=app-reg-ga&pivots=b2c-custom-policy

Thanks!谢谢!

Azure B2C auth flow cannot generate an access token for Microsoft Graph. Azure B2C 身份验证流无法为 Microsoft Graph 生成访问令牌。

You need to implement AAD auth flow by following Get access without a user or Get access on behalf of a user .您需要按照Get access without a userGet access for a user 来实现 AAD 身份验证流程。

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

相关问题 Azure B2C Active Directory 自定义登录 - Azure B2C Active Directory Custom login Azure Active Directory B2C:在两个应用程序上运行? (全栈前端 + 服务器端 web api) - Azure Active Directory B2C: running on two apps? (full-stack frontend + server-side web api) 将用户从本地 SQL Server 迁移到 Azure Active Directory B2C 时如何保持登录名相同 - How to keep login name same when migrating users from local SQL Server to Azure Active Directory B2C Azure 作为微服务的 Active Directory B2C - Azure Active Directory B2C as a Microservice Azure Active Directory B2C定价 - Azure Active Directory B2C Pricing Azure Active Directory B2C 注册 - Azure Active Directory B2C registration Azure Active Directory B2C 租户 - Azure Active Directory B2C Tenant 我们可以在单个应用程序中使用 Azure Active Directory(AAD) B2B 和 B2C 吗??? 用于 Microsoft Intune 访问的 B2B 和用于用户登录/注册的 B2C - Could we use Azure Active Directory(AAD) B2B and B2C in single application??? B2B for Microsoft Intune access and B2C for user login/signup 在Azure Active Directory B2C中自定义EditProfile策略的本地登录页面 - Customize local login page of EditProfile policy in Azure Active Directory B2C C# Web 应用程序中的 Azure Active Directory B2C - Azure Active Directory B2C in a C# webapplication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM