oauth-2.0 - Microsoft Power 自动处理错误的 OAuth token

标签 oauth-2.0 azure-active-directory microsoft-graph-api power-automate power-automate-custom-connector

我使用 Microsoft Automate 创建了一个自定义连接器。
我需要连接器来获取 OAuth token v2 但获取 v1 token 。
当我在 Postman 中使用相同的配置时,我会得到一个 v2 token 。
应用程序 list 中有条目“accessTokenAcceptedVersion”:2
Connector Configuration
Postman Configuration

最佳答案

您所描述的是不可能的,您请求 token 的应用程序决定了 token 版本。
它没有在您的问题中描述,所以我假设您有一个公开范围的应用程序(使用 team.create)并且有一个其他应用程序用于请求 token ?
您确定要检查正确的 token 吗?
您是否检查过 https://JWT.ms 处的代币? , 一定要检查一下观众(如果是不小心的图,永远是v1的token)
最后一点,你为什么关心 token 版本?使用哪个并不重要。

关于oauth-2.0 - Microsoft Power 自动处理错误的 OAuth token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64820581/

相关文章:

php - 如何从头开始在 Laravel 5.4 中实现 OAuth 2.0

authentication - Symfony2 OAuth2 登录陷入无限重定向循环

angular - 使用 unprotectedResources 与 Angular 集成的 MSAL

azure - 成为 Azure Active Directory 实例意味着什么?

c# - 获取 Azure Active Directory token

Azure Active Directory 组增量 API

java - 尝试使用 Microsoft Graph Java SDK 从共享 Outlook 日历获取忙/闲时段时出现错误 401

oauth2 的 java Rest jersey 重定向不起作用

Azure v2.0刷新 token ,返回另一个刷新 token

oauth-2.0 - Azure AD B2C 错误 : The client Id specified in the request is not registered in tenant