Skip to main content

AADSTS50149: PKCE challenge method is invalid

The PKCE challenge method is invalid.

What to check​

  1. Check the value of code_challenge_method against 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.

Open AADSTS50149 in Microsoft’s lookup