Authenticating against a webapi using azure b2c from an spa (angular and adal.js)

后端 未结 3 481
借酒劲吻你
借酒劲吻你 2021-02-09 05:40

I\'m trying to authenticate my SPA (angular.js and adal.js (similar to the https://github.com/Azure-Samples/active-directory-angularjs-singlepageapp-dotnet-webapi example)

3条回答
  •  遇见更好的自我
    2021-02-09 06:14

    Looks like an AzureAD B2C scenario sample code for SPA was just released on github. See it here.

    "The sample shows how to build a web application using Hello.js that performs identity management with Azure AD B2C. The app is a simple web application that performs sign-in, sign-up, and sign-out functions with sign-in and signIn-signUp policies and also edit profile using EditProfile Policy."

    NOTE: At the time of this answer the functionality is still in "preview"

提交回复
热议问题