Comments (2)
This error is common if you register your application as a single-tenant app (choose Accounts in this organizational directory only when creating the registration). The app is written as a multi-tenant app and uses the /common authentication endpoint. (Note that the app registration instructions specify to register as multi-tenant).
For single tenant, you need to configure msal-angular to use your tenant-specific auth endpoint. You would want to add an authority
value in this block:
It would look something like:
authority: 'https://login.microsoftonline.com/YOUR_TENANT_ID'
For more info: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/msal-angular-v1/lib/msal-angular
from msgraph-sample-angularspa.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
from msgraph-sample-angularspa.
Related Issues (11)
- How can I get the thumbnail of the logged in user in demo03 app HOT 4
- Missing install command, Typo in Typescript code
- Some console errors. HOT 1
- "user_cancelled|User closed the popup window and cancelled the flow" HOT 5
- Issue with @azure/msal-angular 0.1.4 using Angular 9.0.2 HOT 3
- sample code won't run HOT 1
- After Logging In it is showing HOT 6
- Getting Error while login HOT 5
- 'Completed Project' link broken
- Avatar? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgraph-sample-angularspa.