Skip to content

Microsoft OAuth2 #35

@codefiesta

Description

@codefiesta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions