Skip to main content

AADSTS50148: PKCE verifier does not match the challenge

The PKCE verifier does not match the challenge.

What to check​

  1. Use the original code_verifier paired 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.

Open AADSTS50148 in Microsoft’s lookup