添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Calling API with oAuth2
74 Views
4 Comments
Solved

i am trying to consume API thats needs to tokens !

https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#first-case-access-token-request-with-a-shared-secret


but i beleive if i used this interface it will generate the token and send it to reset API , but it dose not work !!!



{

"error": "invalid_request",

"error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'. Trace ID: 4f5c1498-e144-4de3-bb1b-675cfcfc6a00 Correlation ID: b7180acc-798d-42ac-b1f6-248d36e1cdcc Timestamp: 2024-02-12 10:30:52Z",

"error_codes": [

900144