AADSTS50148: PKCE verifier does not match the challenge
The PKCE verifier does not match the challenge.
What to check
- Use the original
code_verifierpaired with this authorisation request when redeeming its code.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The PKCE verifier does not match the challenge.
Microsoft remediation: Ask the application owner to correct the way the client sends the PKCE challenge and verifier.