pomerium/internal/identity
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
..
identity store raw id token so it can be passed to the logout url (#1543) 2020-10-26 10:20:23 -06:00
manager identity: rework session refresh error handling (#4638) 2023-10-24 15:44:51 -07:00
oauth identity: override TokenSource expiry behavior (#4632) 2023-10-23 08:20:04 -07:00
oidc identity: override TokenSource expiry behavior (#4632) 2023-10-23 08:20:04 -07:00
claims.go 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
claims_test.go authorize: implement allowed_idp_claims (#1542) 2020-10-23 14:05:37 -06:00
mock_provider.go core/authenticate: refactor idp sign out (#4582) 2023-09-28 08:41:19 -07:00
providers.go core/authenticate: refactor idp sign out (#4582) 2023-09-28 08:41:19 -07:00