Replace Dex by Oauth2-proxy? #3393
sayf-eddine-scality
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Looks good to me, for adding SSO to Ingresses. I'm a bit curious however, what would this mean for K8s API authn (if we set it up to read from request headers) when using |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure I like having authn/authz logic in the ingress controller. It's an application concern... We shouldn't be too dependent on which ingress controller is being used. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The main need/usage of dex is to have a resilient OIDC for Kubernetes API and have a fallback if additional authentication mechanisms fail.
We don't want an OIDC with database dependency, so we use the StaticPassword feature of Dex, but here lies the problem;
Dex does not keep track of the user authenticated through a static password (no session/cookie). So every time we move from one app to another we need to re-login.
The proposed feature is to use oauth2-proxy instead of Dex.
Oauth proxy provides:
Issues to consider:
Suggested flow
Beta Was this translation helpful? Give feedback.
All reactions