chore: cleanup backchannel logout pr for review

This commit is contained in:
Florian Schade
2026-02-25 14:02:09 +01:00
committed by Christian Richter
parent 0c62c45494
commit f72e3f1e32
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ func (m *OIDCAuthenticator) getClaims(token string, req *http.Request) (map[stri
m.Logger.Error().Err(err).Msg("failed to write to userinfo cache")
}
subject, sessionId := aClaims.Subject, aClaims.SessionID
subject, sessionId := strings.Join(strings.Fields(aClaims.Subject), ""), strings.Join(strings.Fields(aClaims.SessionID), "")
// if no session id is present, we can't do a session lookup,
// so we can skip the cache entry for that.
if sessionId == "" {