Problems setting up for a SPA #698
-
Hey, Why I do this anyway?Basically, we just want to connect directly from our spa to the OIDC server (no backend, just frontchannel communication). But since we have no control over the real OIDC server and we can not adjust the allowed origins, we get CORS errors. Still, we want to test against it, to make sure the results from the user-info Endpoint work with our app. Therefore, the OIDC team told us to use an OIDC proxy. What's the problem?
Expectation: Actual: Final noteThere might be some super obvious issue. The problem is, I'm not really into apache2 and all this stuff. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
When using this module in an OIDC proxy setup, the SPA is not supposed to handle OIDC anymore but merely rely on a session cookie and some info it can get from an endpoint provided by the module, see: https://github.com/zmartzone/mod_auth_openidc/wiki/Single-Page-Applications Another source of confusion seems to be that you're using the same Apache server to proxy requests to the OIDC server, that is not necessary to achieve what you need. |
Beta Was this translation helpful? Give feedback.
When using this module in an OIDC proxy setup, the SPA is not supposed to handle OIDC anymore but merely rely on a session cookie and some info it can get from an endpoint provided by the module, see: https://github.com/zmartzone/mod_auth_openidc/wiki/Single-Page-Applications
Another source of confusion seems to be that you're using the same Apache server to proxy requests to the OIDC server, that is not necessary to achieve what you need.