AADSTS501481: Verifier does not match the PKCE challenge sent earlier
The verifier does not match the PKCE challenge sent earlier.
What to check
- Check that the app did not replace the verifier between authorisation and the token request.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The verifier does not match the PKCE challenge sent earlier.
Microsoft does not provide a separate remediation in the lookup.