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

OIDCInfoHook with CORS not working #497

Closed
zandbelt opened this issue Nov 5, 2020 · 0 comments
Closed

OIDCInfoHook with CORS not working #497

zandbelt opened this issue Nov 5, 2020 · 0 comments

Comments

@zandbelt
Copy link
Member

zandbelt commented Nov 5, 2020

I'm accessing the OIDCInfoHook via mydomain.com/redirect?info=json&access_token_refresh_interval=0 from my SPA.
If the SPA have the same domain as Apache then everything works. But when I run my SPA from a different domain (mydomain:8095) then I get CORS issues.

I tried to set headers in Apache with mod_headers but mod_auth_openidc removes them all when I access the OIDCInfoHook via mydomain.com/redirect?info=json&access_token_refresh_interval=0

(https://github.com/zmartzone/mod_auth_openidc/wiki/Single-Page-Applications#session-info-authorization)

Is it expected behaviour or bug? Any ideas how to solve the Cors issues?

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

1 participant