nginx-sso icon indicating copy to clipboard operation
nginx-sso copied to clipboard

user:pass cookie sessions dont expire when manually manipulating the cookie expiry

Open Memexurer opened this issue 1 year ago • 1 comments

https://www.reddit.com/r/golang/comments/yk59kp/gorilla_sessions_dont_expire_after_maxage/ ^^^^

Memexurer avatar Aug 30 '23 16:08 Memexurer

Keeping this "as a reminder" for a future planned rewrite.

Next time please formulate a proper ticket explaining your issue. For this issue read the first comment of your Reddit thread, it explains how cookies work.

Aside: The cookie gets overwritten on every request properly using the set-cookie headers from nginx-sso, so it will restore the expiry. Also every request will prolong the life-time of the cookie.

Luzifer avatar Aug 30 '23 16:08 Luzifer