syncweek-react-aad / react-aad

A React wrapper for Azure AD using the Microsoft Authentication Library (MSAL). The easiest way to integrate AzureAD with your React for authentication.
MIT License
344 stars 94 forks source link

AADSTS700054: response_type 'id_token' is not enabled for the application. #264

Open hrazmsft opened 4 years ago

hrazmsft commented 4 years ago

Library versions

Describe the bug Getting the error:

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

While I don't use the id token in my app, but only access token.

Expected behavior Login with no error. Like in this sample: https://github.com/Azure-Samples/ms-identity-javascript-react-spa-dotnetcore-webapi-obo

To Reproduce Follow the samples in this repo, without allow id tokens in the Azure AD.

Desktop (please complete the following information):

hrazmsft commented 4 years ago

By the way, AFAIK, IdTokens have no refresh token, so there is no "Remember Me" option. What we should do in that case?