mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-20 20:47:16 +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
|
@ -252,6 +252,11 @@ func (mgr *Manager) refreshSessionInternal(
|
|||
return false
|
||||
}
|
||||
|
||||
if s.GetRefreshDisabled() {
|
||||
// refresh was explicitly disabled
|
||||
return false
|
||||
}
|
||||
|
||||
if s.Session == nil || s.Session.OauthToken == nil {
|
||||
log.Ctx(ctx).Info().
|
||||
Str("user_id", userID).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue