AADSTS700054:没有为应用程序启用 response_type 'id_token' [英] AADSTS700054: response_type 'id_token' is not enabled for the application

查看:21
本文介绍了AADSTS700054:没有为应用程序启用 response_type 'id_token'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆