3 ms·
That or just put the frontend behind a reverse proxy with sso.
by rad_gruchalski 4y ago
That or just put the frontend behind a reverse proxy with sso.
- hunter2_ 4y agoSSO is about making a user account inside a service provider (e.g. TFA) which mirrors that same user account in the identity provider (e.g. Okta). A reverse proxy isn't able to write to the upstream application's user store or otherwise assert the identity of the current user to the upstream application, as far as I'm aware. It could do some kind of binary proxy-or-don't-proxy based on a valid assertion from the IdP, but the application would just attribute all traffic to a single user. Or is there some kind of gateway standard that I'm unaware of?
- Fiahil 4y agoYes, OAuth-proxy, Nginx external auth, ...
- rad_gruchalski 4y agoHave a look at something called external, or forward auth. For example 1) Traefik: https://doc.traefik.io/traefik/middlewares/http/forwardauth/ https://doc.traefik.io/traefik/middlewares/http/forwardauth/, 2) Nginx: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/ https://docs.nginx.com/nginx/admin-guide/security-controls/c..., 3) Envoy: https://www.envoyproxy.io/docs/envoy/latest/configuration/listeners/network_filters/ext_authz_filter https://www.envoyproxy.io/docs/envoy/latest/configuration/li.... This can be used to add whatever authn/authz you require to apps that don't even support authn/authz. I'm using Traefik ForwardAuth with Keycloak for Jaeger SSO in a couple of places.