ContainerImage.Pinniped/internal
Andrew Keesler 080bb594b2 Supervisor authorize endpoint reuses existing CSRF cookies and signs new ones
- To better support having multiple downstream providers configured,
  the authorize endpoint will share a CSRF cookie between all
  downstream providers' authorize endpoints. The first time a
  user's browser hits the authorize endpoint of any downstream
  provider, that endpoint will set the cookie. Then if the user
  starts an authorize flow with that same downstream provider or with
  any other downstream provider which shares the same domain name
  (i.e. differentiated by issuer path), then the same cookie will be
  submitted and respected.
- Just in case we are sharing the domain name with some other app,
  we sign the value of any new CSRF cookie and check the signature
  when we receive the cookie. This wasn't strictly necessary since
  we probably won't share a domain name with other apps, but it
  wasn't hard to add this cookie signing.

Signed-off-by: Ryan Richard <richardry@vmware.com>
2020-11-12 15:36:59 -08:00
..
certauthority Add a way to set a default supervisor TLS cert for when SNI won't work 2020-10-27 16:33:08 -07:00
client Split the config CRDs into two API groups. 2020-10-30 19:22:46 -05:00
concierge Reduce log spam 2020-11-10 10:22:27 -05:00
config Add log level support 2020-11-10 10:22:27 -05:00
constable Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
controller Prevent multiple pinnipeds from thrashing on the API service 2020-11-11 20:09:49 -05:00
controllerlib Reduce log spam 2020-11-10 10:22:27 -05:00
controllermanager Rename CredentialIssuerConfig to CredentialIssuer. 2020-11-02 17:39:42 -06:00
downward Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
dynamiccert internal/provider -> internal/dynamiccert 2020-09-23 08:29:35 -04:00
here Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
httputil Implement the rest of an OIDC client CLI library. 2020-10-12 16:41:46 -05:00
mocks Rename login API to login.concierge.pinniped.dev. 2020-10-30 09:58:28 -05:00
multierror Backfill tests to OIDCProviderConfig controller 2020-10-09 10:39:17 -04:00
oidc Supervisor authorize endpoint reuses existing CSRF cookies and signs new ones 2020-11-12 15:36:59 -08:00
oidcclient Split the config CRDs into two API groups. 2020-10-30 19:22:46 -05:00
plog Finish the WIP from the previous commit for saving authorize endpoint state 2020-11-11 12:29:14 -08:00
registry/credentialrequest Rename login API to login.concierge.pinniped.dev. 2020-10-30 09:58:28 -05:00
testutil dynamiccertauthority: fix cert expiration test failure 2020-10-23 15:34:25 -04:00