mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 19:06:33 +02:00
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. |
||
---|---|---|
.. | ||
identity | ||
manager | ||
oauth | ||
oidc | ||
claims.go | ||
claims_test.go | ||
mock_provider.go | ||
providers.go |