Code Monkey home page Code Monkey logo

Comments (4)

sleighzy avatar sleighzy commented on July 17, 2024 1

Screen Shot 2021-01-15 at 11 25 38 PM

Just replace auth.mydomain.io with the hostname that is actually used in your ingress route by Traefik to direct that traffic to the traefik-forward-auth service.

from k3s-traefik-forward-auth-openid-connect.

sleighzy avatar sleighzy commented on July 17, 2024

Hi @wopl . What's the redirect url you have configured within Keycloak for your Traefik client?

In my Keycloak deployment the Traefik client (that used for the forward auth) has a redirect url of https://auth.mydomain.io/_oauth. This matches the auth.mydomain.io hostname that is configured for the Ingress Route, see https://github.com/sleighzy/k3s-traefik-forward-auth-openid-connect/blob/master/005-ingressroute.yaml#L13. The /_oauth path comes from the default "Callback URL Path" setting for the thomseddon/traefik-forward-auth container. You can see this in his README file (https://github.com/thomseddon/traefik-forward-auth/blob/master/README.md) for the --url-path argument or $URL_PATH environment variable.

I hadn't explicitly included in my configuration or README, but should do so to provide more information, I'll update my README for this.

from k3s-traefik-forward-auth-openid-connect.

sleighzy avatar sleighzy commented on July 17, 2024

In my Keycloak deployment the Traefik client (that used for the forward auth) has a redirect url of https://auth.mydomain.io/_oauth.

The auth.mydomain.io isn't literally my hostname just to be clear, I do actually have a proper domain name that points to my services. You would replace that with your own actual DNS name.

from k3s-traefik-forward-auth-openid-connect.

sleighzy avatar sleighzy commented on July 17, 2024

Hi @wopl , all sorted now? Ok if I close this issue?

from k3s-traefik-forward-auth-openid-connect.

Related Issues (2)

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.