-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When attempting to plugin a Microsoft OAuth2 provider, the token endpoint returns an error:
Response Error:
{
"error": "invalid_request",
"error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'",
"error_codes": [900144],
"error_uri": "https://login.microsoftonline.com/error?code=900144"
}
From basic searching around on StackOverflow you can see a number of developers have had the same issue. It appears Microsoft mixes certain items into the request body while keep other parameters in the query string.
Additional context
- https://learn.microsoft.com/en-us/answers/questions/352706/grant-type-is-always-missing
- https://stackoverflow.com/questions/73206053/microsoft-get-access-tocken-keeps-asking-me-for-grant-type
- https://community.postman.com/t/aadsts900144-the-request-body-must-contain-the-following-parameter-grant-type/38974
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working