nginx-sso
nginx-sso copied to clipboard
user:pass cookie sessions dont expire when manually manipulating the cookie expiry
https://www.reddit.com/r/golang/comments/yk59kp/gorilla_sessions_dont_expire_after_maxage/ ^^^^
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.