Improve handling of expired sessions

This commit is contained in:
2024-09-16 22:43:06 +01:00
parent dca2b5214c
commit 38433dfff8
3 changed files with 39 additions and 11 deletions
+2
View File
@@ -129,6 +129,8 @@ func (t *TraefikOidc) handleExpiredToken(rw http.ResponseWriter, req *http.Reque
if err != nil {
t.logger.Errorf("Failed to clear session: %v", err)
}
// Initiate a new authentication flow
t.initiateAuthentication(rw, req, session, t.redirectURL)
}