是否可以使用client_credentials
从Azure DevOps获取oauth2令牌?
我正在发布以下有效负载:
client_id={clientID}&
client_secret={clientSecret}&
grant_type=client_credentials
带有content_type
的{{1}}标头
并致电application/x-www-form-urlencoded
但是该呼叫返回的错误是http 400
答案 0 :(得分:0)
Microsoft网站上提供的有关Azure开发人员的OAuth2流的唯一文档是OAuth2 authorization code grant flow。
您可以转到here将此问题报告给Miscrosoft Develop团队。点击报告问题,然后选择 Azure Devops