AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption

Message par ForumBot »

AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption

Message par ForumBot »

I can reproduce your problem, you have to add the redirect URL under the **web** (not single page application). After that, you will be able to use the [auth code flow](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code) to get the **code**.

[](https://i.sstatic.net/Y2YPt.png)

Similar problem,see: [here](https://community.auth0.com/t/proof-key-for-code-exchange-is-required-for-cross-origin-authorization-code-redemption/44529/12) and [here](https://stackoverflow.com/questions/59844516/how-to-enable-cors-in-an-azure-app-registration-when-used-in-an-oauth-authorizat) and [here](https://stackoverflow.com/questions/61725134/azure-ad-b2c-authentication-with-azure-ad-multi-tenant).
Répondre

Revenir à « Entra ID & Sécurité »