AADSTS700054:未为该应用程序启用response_type'id_token' [英] AADSTS700054: response_type 'id_token' is not enabled for the application
问题描述
通过JavaScript使用adal.js v1.0.17和Web API.在Microsoft Teams中运行自定义选项卡,并在尝试进行身份验证时收到此错误.查看了Azure门户中的应用程序注册,但没有发现任何可以帮助的内容.试图编辑清单文件,并将oauth2AllowImplicitFlow的值更改为true,但仍然出现错误.
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.
推荐答案
找到了解决方案.需要使用Chrome访问Azure门户.转到Azure Active Directory,然后选择应用程序注册"(预览).打开应用程序注册,然后在左侧选择身份验证".在高级设置"下,隐式授予"选中"ID令牌"框.
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".
这会将属性oauth2AllowIdTokenImplicitFlow添加到清单文件中,其值设置为"true".
That will add the property oauth2AllowIdTokenImplicitFlow to the manifest file with the value set to "true".
这篇关于AADSTS700054:未为该应用程序启用response_type'id_token'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!