active-directory-b2c-javascript-angular-spa | Angular single-page application | Azure library
kandi X-RAY | active-directory-b2c-javascript-angular-spa Summary
kandi X-RAY | active-directory-b2c-javascript-angular-spa Summary
An Angular single-page application calling a web API. Authentication is done with Azure AD B2C by leveraging MSAL.js
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of active-directory-b2c-javascript-angular-spa
active-directory-b2c-javascript-angular-spa Key Features
active-directory-b2c-javascript-angular-spa Examples and Code Snippets
Community Discussions
Trending Discussions on active-directory-b2c-javascript-angular-spa
QUESTION
I'm trying to create a basic authentication app (SPA) using Angular 8 with Azure B2C login. I'm using this sample here.
I already configured the "app registration" for the SPA, but I'm not sure whats is the "Web API" in the sample.
When I run the project I can login but after redirect to Angular I got the following error:
ANSWER
Answered 2020-Jun-03 at 14:06this sample has 2 methods of setup, either use their demo tenant, where you don't set anything, just run. or if you are setting your own app registration in the spa, which it appears that you are, then you also need to set up the web api from a different sample, as per the readme, https://github.com/Azure-Samples/active-directory-b2c-javascript-nodejs-webapi so you need to set this up, then in the API permissions, MY APIs will show in the SPA app registration.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install active-directory-b2c-javascript-angular-spa
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page