Fixing AADSTS700054: response_type 'id_token' is not enabled for the application
7 min
When signing in to a Microsoft application integrated with Azure AD, you may encounter this error:
AADSTS700054: response_type 'id_token' is not enabled for the application.
This indicates that the application is trying to request an ID token, but ID tokens are not enabled in the Azure AD app registration. ID tokens are essential for OpenID Connect (OIDC) authentication.
Why This Happens
This typically occurs when:
- The app is using implicit flow or hybrid flow to authenticate users.
- ID tokens were not enabled in the App Registration configuration in Azure AD.
How to Fix It
1. Go to Azure AD App Registration
- Sign in to the Azure Portal.
- Navigate to Entra ID > App registrations.
- Locate and select the application that’s failing.
2. Enable ID Tokens
- In the app registration, go to Authentication under Manage.
- Scroll down to the Implicit grant and hybrid flows section.
- Check the box for:
- ID tokens (used for implicit and hybrid flows)
- Click Save.
3. Verify Redirect URIs
Make sure your redirect URIs are configured correctly:
- If it’s a web app, ensure the URI is set to https:// and matches what your app expects.
4. Retry Sign-In
Once saved, try signing in again. The error should be resolved.
Additional Notes
- If you’re using MSAL (Microsoft Authentication Library), consider moving to the Authorization Code Flow with PKCE, as implicit flow is being deprecated for SPA apps.
- Ensure Admin Consent is granted for required API permissions.