AADSTS50149: PKCE challenge method is invalid
The PKCE challenge method is invalid.
What to check
- Check the value of
code_challenge_methodagainst the methods supported by the endpoint.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The PKCE challenge method is invalid.
Microsoft does not provide a separate remediation in the lookup.