Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Using adal.js v1.0.17 and Web API via JavaScript. Running a custom tab within Microsoft Teams and getting this error when trying to authenticate. Looked at the app registration within Azure portal and not seen anything there that could help. Tried to edit the manifest file and change the value of oauth2AllowImplicitFlow to true but still getting error.

like image 904
Oskar Jensson Fjeld Avatar asked Dec 05 '18 15:12

Oskar Jensson Fjeld


2 Answers

Found the solution. Need to access the Azure portal using Chrome. Go to Azure Active Directory and choose App Registrations (Preview). Open up the app registration and choose Authentication on the left. Under Advanced Settings, Implicit grant check the box "ID tokens".

That will add the property oauth2AllowIdTokenImplicitFlow to the manifest file with the value set to "true".

like image 66
Oskar Jensson Fjeld Avatar answered Nov 14 '22 10:11

Oskar Jensson Fjeld


you can try by enabling the 'ID Token'

Enabled the 'ID Token'

like image 16
Daleman Avatar answered Nov 14 '22 08:11

Daleman