-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entra ID - SPA application without Origin error gives an error. #260
Comments
Thanks for reporting the issue. Does the origin of the redirect URI and |
I'll test this next week when I will be working on the same project again. |
Hello again, I've tested the issue again. As soon as I ommit the Origin header I get the error again. |
That's really surprising, thanks for testing it! |
The issue is similar as to the one described here.
https://stackoverflow.com/questions/61231144/getting-access-tokens-from-postman-tokens-issued-for-the-single-page-applicati
When I try to validate an authorizationcode like so:
validateAuthorizationCode failes with the error:
"AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests."
When I edit request.js in the function createOAuth2Request(endpoint, body) ...
Adding the proper "Origin" error makes the request valid without an error.
The text was updated successfully, but these errors were encountered: