简体   繁体   中英

aps.net web api + angular + Azure AD B2C Authorize

How to protected web api with angular and Azure AD B2C ? I follow: https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-web-dotnet/

But I am not sure about using cookie authentication with web-api? Any idea how I should do this ?

Check this post: https://cgillum.tech/2016/08/10/app-service-auth-and-azure-ad-b2c-part-2/

Should bring AD B2C as Authentication Provider of Azure App Service, so next you work with Easy Auth of Azure App Service that support cookie for login.

Above post also include an example for SPA app already.

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