TeskaLabs / seacat-auth

SeaCat Auth provides authentication, authorization, identity management, session management and other access control features.
GNU General Public License v3.0
11 stars 6 forks source link

Extend session expiration on cookie request #383

Closed byewokko closed 1 month ago

byewokko commented 1 month ago

Issue

358 introduced a bug where client cookie sessions are created with short expiration, which is not extended later and the session expires in a few minutes, logging the user out.

The session was supposed to be extended at the cookie entrypoint, when the auth code is exchanged for a cookie (same as with OAuth token request), but there seems to be no code doing so.

Solution