GithubHelp home page GithubHelp logo

Comments (13)

while1eq1 avatar while1eq1 commented on July 22, 2024 3

@jwhitcraft I made a write up on this here - https://medium.com/@while1eq1/single-sign-on-for-internal-apps-in-kubernetes-using-google-oauth-sso-2386a34bc433

As well as provided example yamls here - #67

from sso.

jwhitcraft avatar jwhitcraft commented on July 22, 2024 3

Now that there is a good example for K8S I'll start working on a helm chart. It will probably end up in the incubator on https://github.com/helm/charts

from sso.

Freyert avatar Freyert commented on July 22, 2024 2

@jwhitcraft @while1eq1 I got a chart started. It could use some playing around with to cut the edges off.


I got it working :). I'm curious if I can remove the need for the SSO-Proxy if I use an NGINX ingress as shown in this tutorial using OAuthProxy.

from sso.

Freyert avatar Freyert commented on July 22, 2024 1

@jwhitcraft @while1eq1 the one question I have is can we do this with out the sso-proxy and instead leverage an nginx-ingress? It seems feasible to me from reading this tutorial using OAuth2_Proxy: https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/auth/oauth-external-auth


This is actually pretty likely to work: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/

from sso.

shrayolacrayon avatar shrayolacrayon commented on July 22, 2024

Thank you for opening this issue @jwhitcraft. While we are definitely open to adding variations to our quick start, we don't have any experience with Helm in our organization, so we aren't in the best place to write about this in our quick start guide. I am going to to leave this issue open for anyone who does and would like to contribute!

from sso.

sporkmonger avatar sporkmonger commented on July 22, 2024

I can probably tackle this.

from sso.

while1eq1 avatar while1eq1 commented on July 22, 2024

I got this up and running in k8s successfully today. Im in the process of writing a post on how I did it. It should be finished tomorrow or the next day. It will include all the kubernetes manifests that I made to make it happen.

from sso.

krishofmans avatar krishofmans commented on July 22, 2024

@Freyert the nginx part only helps you to route unauthenticated users to the application (sso-proxy) that will handle oauth, it does not do oauth itself.

from sso.

Freyert avatar Freyert commented on July 22, 2024

@krishofmans right, so it fulfills the same role as sso-proxy, but needs the sso-auth component to validate. The proxy can be replaced by anything that supports redirecting to sso-auth?

from sso.

tewing-riffyn avatar tewing-riffyn commented on July 22, 2024

@Freyert and @while1eq1 - Thank you for the documentation and helm chart. I'm going to fork it and make an attempt to get it working in my dev cluster. If I can get it working I may steal some of the documentation from the @while1eq1 article and place it in a README.md.

I'm excited to use a double-oauth proxy. This will keep me from manually maintaining every endpoint callback URL in the google admin panel.

from sso.

weeco avatar weeco commented on July 22, 2024

Initial pull request has been created on the official helm charts repo by Dario: helm/charts#8157

from sso.

mreiferson avatar mreiferson commented on July 22, 2024

Given that this is currently being developed in the helm repo, I've repurposed this issue to update our sso docs here to reference the availability of said helm chart, once it lands.

Thanks everyone!

from sso.

victornoel avatar victornoel commented on July 22, 2024

@Freyert I think the main problem with using nginx-ingress is that you won't have the extra headers such as X-Forwarded-Groups and so on that sso-proxy provides.

So I suppose that if you need some of the features provided by nginx-ingress (for example the modsecurity firewall), then you need to use both proxies.

from sso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.