Git Product home page Git Product logo

Comments (6)

mlbiam avatar mlbiam commented on June 1, 2024

With this configuration if i reach to https://ou.example.com/ i get Internal Server Error

Is that coming from OpenUnison or trafaek? If it's from OpenUnison is there a stack trace in the pod's logs?

oidc: issuer did not match the issuer returned by provider, expected "https://ou.example.com/auth/idp/k8s-login-cli" got "http://ou.example.com/auth/idp/k8s-login-cli"

This is a known issue that is has been fixed in 1.0.23 (should be released by tuesday) TremoloSecurity/OpenUnison#549

from openunison-k8s-login-oidc.

ddellarocca avatar ddellarocca commented on June 1, 2024

Is that coming from OpenUnison or trafaek? If it's from OpenUnison is there a stack trace in the pod's logs?

It's coming from traefik, the pod never gets the request, if i set up traefik with insecureskipverify flag it correctly forward to openunison pod and all works, as i mentioned before i think the problem is relative to traefik refusing openunison's self signed cert.

This is a known issue that is has been fixed in 1.0.23 (should be released by tuesday) TremoloSecurity/OpenUnison#549

Great news, i'll test as soon as it gets released then

from openunison-k8s-login-oidc.

mlbiam avatar mlbiam commented on June 1, 2024

It's coming from traefik, the pod never gets the request, if i set up traefik with insecureskipverify flag it correctly forward to openunison pod and all works, as i mentioned before i think the problem is relative to traefik refusing openunison's self signed cert

Can you tell traefik to trust the unison-tls Secret in the openunison namespace?

from openunison-k8s-login-oidc.

ddellarocca avatar ddellarocca commented on June 1, 2024

Can you tell traefik to trust the unison-tls Secret in the openunison namespace?

Unfortunately i didn't find any options to do that

from openunison-k8s-login-oidc.

mlbiam avatar mlbiam commented on June 1, 2024

Assuming traefik adds the X-Forwarded-Proto header you can now add networking.force_redirect_to_tls: false to your values.yaml and after updating your local helm repo upgrade, then upgrade your openunison and orchestra repo deployments.

from openunison-k8s-login-oidc.

ddellarocca avatar ddellarocca commented on June 1, 2024

In the end we switched to kube-oidc-proxy because we would enable that anyway in openunison.

from openunison-k8s-login-oidc.

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.