7
votes

I have configured Azure AD multi-tenant autentication by following this article: https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=applications

The authentication worked on friday last week, but now its suddenly failing. I tried to re-register the application in Azure AD with new App Id and new App secret that was added in both ends.

Error i'm getting:

Sorry, but we’re having trouble with signing you in. AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.

Am I overlooking something obvious?

Authentication is used with a SPA Web App using React with react-aad-msal

1

1 Answers

21
votes

Solution: Changed platform configuration from SPA to Web solved it.