mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-23 03:29:51 +02:00
identity: disable session refresh for idp token sessions, fix query cache invalidation (#5495)
This commit is contained in:
parent
ff127e61f9
commit
a9e26b155d
7 changed files with 59 additions and 31 deletions
|
@ -225,6 +225,11 @@ func (mgr *Manager) refreshSession(ctx context.Context, sessionID string) {
|
|||
return
|
||||
}
|
||||
|
||||
if s.GetRefreshDisabled() {
|
||||
// refresh was explicitly disabled
|
||||
return
|
||||
}
|
||||
|
||||
if s.GetOauthToken() == nil {
|
||||
log.Ctx(ctx).Info().
|
||||
Str("user_id", s.GetUserId()).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue