response_type 'id_token' is not enabled for the application
See original GitHub issueCore Library
Core Library Version
2.12.0
Wrapper Library
Wrapper Library Version
1.0.0-beta.0
Description
I have created a new app registration and added on Authentication SPA and in Redirect URLS I have typed:
https://localhost:3000/ and my azure url https://dev-luloui.azurewebsites.net/
The app is enabled multiple organizations, so anyone can try it.
However I get the error above in the title
response_type 'id_token' is not enabled for the application
libraries used: “@azure/msal-browser”: “^2.12.0”, “@azure/msal-react”: “^1.0.0-beta.0”,
MSAL Configuration
import { Configuration, PopupRequest } from "@azure/msal-browser";
// Config object to be passed to Msal on creation
export const msalConfig: Configuration = {
auth: {
clientId: "c1074030-bf88-4aa0-ad1a-6fd14b8462db",
authority: 'https://login.microsoftonline.com/organizations/',
redirectUri: "http://localhost:3000"
}
};
// Add here scopes for id token to be used at MS Identity Platform endpoints.
export const loginRequest: PopupRequest = {
scopes: ["User.Read"]
};
// Add here the endpoints for MS Graph API services you would like to use.
export const graphConfig = {
graphMeEndpoint: "https://graph.microsoft.com/v1.0/me"
};
Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
response_type 'id_token' is not enabled for the application ...
How to Solve : goto Azure AD => App registration => click tab Authentication => enabled Access tokens and ID tokens check-boxes. Share....
Read more >response_type 'id_token' is not enabled for the application
Hi, I registered a single-page application (SPA) in the Microsoft identity platform for MSAL v2. Firstly I tried on dev server and can...
Read more >How to fix "AADSTS700054: response_type 'id_token' is not ...
Fixing “AADSTS700054: response_type 'id_token' is not enabled for the application” error · Enable the implicit authentication flow. You'll need ...
Read more >Response_type 'id_token' Is Not Enabled For The Application
In this azure tutorial, we will discuss how to fix, response_type 'id_token' is not enabled for the application.
Read more >Fix – AADSTS700054: response_type 'id_token' is not ...
To fix it, go to Manifest of the application registered and set oauth2AllowIdTokenImplicitFlow to true. Another option of setting this property ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks a lot, that last setting was the one causing the behavior. I had authentication enabbled on the azure app service, I assumed I had to put it because for a .net core webapi I had it enabled too. Maybe a good remark for the documentation
@levalencia you’re welcome! Check out one of the deployment guide we have here. Closing this as resolved.