ContainerImage.Pinniped/internal/oidc/provider
Ryan Richard 79ca1d7fb0 Perform an upstream refresh during downstream refresh for OIDC upstreams
- If the upstream refresh fails, then fail the downstream refresh
- If the upstream refresh returns an ID token, then validate it (we
  use its claims in the future, but not in this commit)
- If the upstream refresh returns a new refresh token, then save it
  into the user's session in storage
- Pass the provider cache into the token handler so it can use the
  cached providers to perform upstream refreshes
- Handle unexpected errors in the token handler where the user's session
  does not contain the expected data. These should not be possible
  in practice unless someone is manually editing the storage, but
  handle them anyway just to be safe.
- Refactor to share the refresh code between the CLI and the token
  endpoint by moving it into the UpstreamOIDCIdentityProviderI
  interface, since the token endpoint needed it to be part of that
  interface anyway
2021-10-13 12:31:20 -07:00
..
formposthtml Fix form_post CSS styling in Firefox and Safari. 2021-07-28 08:09:20 -05:00
manager Perform an upstream refresh during downstream refresh for OIDC upstreams 2021-10-13 12:31:20 -07:00
dynamic_tls_cert_provider.go Add a way to set a default supervisor TLS cert for when SNI won't work 2020-10-27 16:33:08 -07:00
dynamic_upstream_idp_provider.go Perform an upstream refresh during downstream refresh for OIDC upstreams 2021-10-13 12:31:20 -07:00
federation_domain_issuer_test.go Rename all "op" and "opc" usages 2020-12-17 11:34:49 -08:00
federation_domain_issuer.go Rename all "op" and "opc" usages 2020-12-17 11:34:49 -08:00