Replies: 1 comment 1 reply
-
to me it suggests that the delay is caused in the backend that is proxied to; the log messages that you refer to are harmless debug messages |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I have recently set up this module with a local OIDC server for testing purposes and so far it is working just fine. I am protecting an application consisting of an SPA and an API the SPA calls into. All of those services are deployed as Docker containers. Only the port of the Apache server that includes this module is exposed, proxying to the SPA and API routes happens inside the local docker network. However, the application feels pretty sluggish when I deploy it to a remote environment with lower end hardware and slow network connectivity. Using this module increases the loading time by multiple times so I started to investigate what it is actually happening inside the module. After turning on the debug logs, I found that this message is logged on every request, even though I have authenticated before:
While this message keeps showing up on each request the page is loading fine as I am using a valid cookie.
I am only using the Apache Cookie to call from the SPA into protected SPA routes as described in this wiki page.
My module config looks like this:
If I set the protected location to something like
/this-route-does-not-exist
the performance issues are gone, so the issue should not be the Apache server itself.Thank you for any help provided in advance
Philipp
Beta Was this translation helpful? Give feedback.
All reactions