pomerium/databroker
Kenneth Jenkins fcbfdf3baf
add runtime flag for session refresh changes (#5750)
Add a new runtime flag refresh_session_at_id_token_expiration to guard 
the recent changes related to ID token refresh, which are:

1. schedule session refresh based on ID token expiration (in addition to 
   access token expiration and overall session lifetime)
2. always overwrite an existing ID token upon successful session refresh

This requires a bit of refactoring to make the runtime flag setting 
available in the identity manager and OIDC code:

- add a new WithRefreshSessionAtIDTokenExpiration(bool) option to the 
  identity manager config
- add a new OverwriteIDTokenOnRefresh bool field to oauth.Options

Also, sort the existing runtime flag definitions.
2025-07-30 13:04:49 -07:00
..
cache.go add runtime flag for session refresh changes (#5750) 2025-07-30 13:04:49 -07:00
cache_test.go chore(deps): bump the go group with 24 updates (#5638) 2025-06-17 09:36:50 -07:00
databroker.go New tracing system (#5388) 2025-01-21 13:26:32 -05:00
databroker_test.go chore(deps): bump the go group with 24 updates (#5638) 2025-06-17 09:36:50 -07:00