简体   繁体   中英

Azure B2C in .Net Core API

Currently I have .NET Core API and custom frontend and I am using msal.js for Azure B2C Authentication. I was looking if it is possible to move auth flow to my API where I will have my own routes /register /login and will send necessary information like email password etc, and then from API register user on Azure B2C without their popup form.

Does anyone have any resource on this or example.

The web api are be used to protect and accept the b2c access tokens from client applications.

You can implement Azure AD B2C .Net Core MVC web application with web api. Please go through the available code samples which can help you more.

If you are looking for registering the user using API you can make use Microsoft Graph API .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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