Muthu
Muthu

Reputation: 41

AADSTS9002326: Error on MSAL Auth code flow

I recently migrated my react application from MSAL 1.0(implicit) to MSAL 2.0(Auth code flow). I moved my redirect urls to Single Page Application in azure app registration. But I still get this error. Any guess ? #help #MSAL

AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type

Upvotes: 0

Views: 3018

Answers (1)

mert.js
mert.js

Reputation: 3

Is the redirect URI of type "spa"? This is required for MSAL.js v2 to work cross-origin.Solution to your problem

Upvotes: 0

Related Questions