-
-
Notifications
You must be signed in to change notification settings - Fork 983
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
Weird behavior using Docker Networks #5880
Comments
Look at this now when I remove an extra network it just works, but still not flawless. Once I add nginx-proxy it just logs me out. |
I have the same issue, trying to use existing docker network with SWAG |
I have been experiencing the same issue since release 2023.2 I believe. I have not been able to set up authentik on any of my systems with portainer. Closer inspection of the logs tells me that the session cookie is no longer being transmitted by my browser. In developer options, i can see a cookie generated after login. The expiration date is set to "session" and then the cookie quickly disappears. This is when we stop being able to access anything. Same as Issue #4539 Docker networking has nothing to do with this, despite what other users have been mentioning. I have tried, and read reports of others trying to correct the docker networking or remove it outright. No luck still. I am experiencing this out of box, as well. Initial setup flow has instant session invalidation. This issue seems to be overlooked, as there are varying reports all with a core around this session cookie. |
The only cause for this that I can imagine is that authentik thinks it's behind a proxy that does ssl but isn't, in which case it'll set the secure flag on the cookie and the browser will discard it as it's not a secure origin. Can you do a curl -L to your authentik URL and post the output? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently I've been struggling for hours now finding out finding our what's wrong with my Authentik setup. And as far as I have reached my investigations, this is a common issue: #2180 #4383, #3637, #5059, #2719, #3087,
Basic docker setup:
Whenever I deploy a fresh installation using networks, it succeeds and I can access the host. Although when I add an network to the server it instantly disconnects the worker and sometimes I just logout out of nowhere. Now when I try to setup a Authentik with a proxy server it fails and returns me an 403 error.
Please help,
The text was updated successfully, but these errors were encountered: