Skip to content
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

update documentation - Azure AD IdP #80

Open
nergalex opened this issue Mar 1, 2023 · 2 comments
Open

update documentation - Azure AD IdP #80

nergalex opened this issue Mar 1, 2023 · 2 comments

Comments

@nergalex
Copy link

nergalex commented Mar 1, 2023

Hello,

To support Azure AD as an IdP, it's necessary to set header Origin. If not, this issue here is encountered.
Error looks like: [error] 10#10: *1 js: OIDC error from IdP when sending authorization code: invalid_request, AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests.

Fix is to add proxy_set_header Origin $host; in locations /_token and /_refresh

Could you update the documentation?

Best Regards

@ojuschugh1
Copy link

Hi,
I am interested in this issue. Is this issue still open or closed?

Thanks and Regards

@ag-TJNII
Copy link

ag-TJNII commented Apr 2, 2024

This proposed fix lead me down a bad path. I found the fix to be to unset any headers from the client. #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants