0
votes

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 ?

1

1 Answers

1
votes

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.