AADSTS700054: response_type 'id_token' is not enabled for the application

Siti Norani 6 Reputation points
2022-06-13T07:32:51.967+00:00

Hi, I registered a single-page application (SPA) in the Microsoft identity platform for MSAL v2. Firstly I tried on dev server and can access my web app via PC and mobile.

But then I registered a new SPA for QA server with same configuration as dev but I got error like below on mobile but I can access my web on PC.

210735-untitled.png

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,560 questions
{count} vote

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,311 Reputation points
    2022-06-13T08:40:04.653+00:00

    @Siti Norani • Thank you for reaching out.

    Based on the error, it looks like you are using the Implicit flow and the id_token is not enabled for the application.

    To enable the ID_Token issuance for the application, you need to navigate to:

    Azure AD > Application Registration > Search and open your application > Authentication > Under Implicit grant and hybrid flows section > select the checkbox for ID token as hightlighted below:

    210724-image.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    9 people found this answer helpful.