Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

I am getting above error even after setting "oauth2AllowImplicitFlow": true, in manifest.

like image 511
Jajula Siva Avatar asked Mar 22 '18 07:03

Jajula Siva


6 Answers

try this: go to portal.azure.com select your directory, and go to Azure AD then select App registration (preview) select the app you are trying to authenticate (you should already have registered it) go to the authentication tab check "ID tokens" in the Advanced Settings section (see the bottom of the attached image)

enter image description here

this have worked for me

like image 131
Mosè Bottacini Avatar answered Oct 01 '22 02:10

Mosè Bottacini


I got the error:

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

And the resolution was setting:

{
  "oauth2AllowIdTokenImplicitFlow" : true
}

in Azure Active Directory App Manifest

like image 21
eMazeika Avatar answered Sep 28 '22 02:09

eMazeika


Make sure you have selected ID tokens (used for implicit and hybrid flows) You can do from Authentication blade in your app in Azure AD. See screenshot below

Or go to the Manifest blade and make oauth2AllowIdTokenImplicitFlow to true. See screenshot below enter image description here

like image 31
Rupesh Kumar Tiwari Avatar answered Oct 01 '22 02:10

Rupesh Kumar Tiwari


Error : OpenIdConnectMessage.Error was not null, indicating an error. Error: 'unsupported_response_type'. This error occurred because Azure AD not return any Access tokens or ID tokens. Azure AD need to enabled check box to return tokens, after authentication is done.

How to Solve : goto Azure AD => App registration => click tab Authentication => enabled Access tokens and ID tokens check-boxes.

like image 33
Dhiraj Ghode Avatar answered Sep 30 '22 02:09

Dhiraj Ghode


Make sure you don't have two instances of the key oauth2AllowImplicitFlow in your manifest - in my case I had added the key but it was present already with the value set to false. Hopefully this solves the issue:)

like image 38
Vincenzo Criscuolo Avatar answered Oct 02 '22 02:10

Vincenzo Criscuolo


I was facing similar issue and when visited the page of ActiveDirectory -> App registrations, it wasnt showing new UI.

Also it doesnt allow me to set the flag in the metadata, Found the workaround for this.

https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/quickStartType//sourceType/Microsoft_AAD_IAM/appId/9bab1d75-34b8-475b-abfe-5a62c6f01234/objectId/a4b459c1-7753-400c-8f8f-46fb5451234/isMSAApp//defaultBlade/Overview/servicePrincipalCreated/true

First login to your instance, modify the above URL to paste object id and application id of your application.

Then it should show the screen @Mosè Bottacini posted.

like image 22
Ganesh Bhat Avatar answered Oct 01 '22 02:10

Ganesh Bhat