Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50148

The code_verifier doesn't match the code_challenge supplied in the authorization request for PKCE

Alternative forms: 50148

Code AADSTS50148 · An issue reported by Microsoft Entra ID.

The code_verifier doesn't match the code_challenge supplied in the authorization request for PKCE. Contact the application owner to correct their use of the PKCE parameters.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.