vmware-archive / gangway

An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
Apache License 2.0
409 stars 111 forks source link

[Fix #26] create multiple session cookies #85

Closed paulczar closed 5 years ago

paulczar commented 5 years ago

When used with auth systems that create large keys (UAA) storing sessions as cookies can cause the cookie to be larger than browsers like. This somewhat awkwardly seperates id_token and refresh_token out into their own cookies.

You could also switch out to filesystem or redis for session storage but that adds more complication for runtime than this super simple use case really warrants IMHO.

Signed-off-by: Paul Czarkowski username.taken@gmail.com

paulczar commented 5 years ago

this addresses #26

paulczar commented 5 years ago

will rebase when/if the other PRs are merged in.