pomerium/internal
Kenneth Jenkins 1d2c525b1a
identity: rework session refresh error handling (#4638)
Currently, if a temporary error occurs while attempting to refresh an
OAuth2 token, the identity manager won't schedule another attempt.

Instead, update the session refresh logic so that it will retry after
temporary errors. Extract the bulk of this logic into a separate method
that returns a boolean indicating whether to schedule another refresh.

Update the unit test to simulate a temporary error during OAuth2 token
refresh.
2023-10-24 15:44:51 -07:00
..
atomicutil atomicutil: use atomicutil.Value wherever possible (#3517) 2022-07-28 15:38:38 -06:00
autocert autocert: use new OCSP error type (#4437) 2023-08-04 14:41:25 -07:00
chanutil fileutil: update watcher to use fsnotify and polling (#3663) 2022-10-19 09:13:08 -06:00
contextkeys
controlplane logs: add ip address to access logs (#4391) 2023-08-09 07:09:00 -06:00
databroker config: update logic for checking overlapping certificates (#4216) 2023-06-01 09:30:46 -06:00
deterministicecdsa config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
encoding config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
events events: remove xds configuraton update (#3792) 2022-12-06 14:46:45 -05:00
fileutil auto tls (#3856) 2023-01-05 16:35:58 -05:00
handlers core/authenticate: refactor idp sign out (#4582) 2023-09-28 08:41:19 -07:00
hashutil
httputil proxy: add support for logging http request headers (#4388) 2023-07-25 09:46:42 -06:00
identity identity: rework session refresh error handling (#4638) 2023-10-24 15:44:51 -07:00
log logs: add ip address to access logs (#4391) 2023-08-09 07:09:00 -06:00
middleware controlplane: remove gorilla handlers dependency (#3813) 2022-12-15 14:41:29 -07:00
redisutil chore(deps): bump github.com/golangci/golangci-lint from 1.48.0 to 1.50.0 (#3667) 2022-10-19 09:36:59 -06:00
registry config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
scheduler
sessions config: add cookie_same_site option (#4148) 2023-05-03 14:36:42 -06:00
sets Fix typos (#3575) 2022-08-30 15:51:40 -07:00
signal
syncutil config: generate cookie secret if not set in all-in-one mode (#3742) 2022-11-11 14:14:30 -07:00
telemetry Add metric request error in log (#4585) 2023-09-21 15:29:35 -06:00
tests/xdserr config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
testutil authorize: incorporate mTLS validation from Envoy (#4374) 2023-07-21 12:17:01 -07:00
tripper config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
urlutil stub out HPKE public key fetch for self-hosted authenticate (#4360) 2023-07-13 10:04:34 -07:00
version