Edit2: I had to split the addPrefix middleware from the rest of the chain and it seems to work fine now.
I commented out
- middleware-guacamole-add-guacamole-ext from the middleware chain and made my guacamole compose label look like this:
Edit: As an update, this happens with both Google Oauth and Authelia and for any address that I need to add a URI to. Pihole is another example as it needs
Hello there. I am trying to use Google Oauth with Traefik and Guacamole. Guacamole requires a URI extension of
/guacamole. I have added this to middlewares and it works fine but when I need to authenticate through Google, the forwardAuth seems to take the address as passed to it (http://guacamole.domain.com/guacamole), the authentication occurs and then Traefik runs the approved request back through the middleware adding
/guacamole again like shown here.
Is this a configuration change I need to make in Traefik or the thomseddon/traefik-forward-auth container not to double up on the URI? It works fine once I am authenticated if I just retype the web address (guacamole.domain.com) but I would like to figure out how to solve the issue.
Here is my middleware:
middleware-guacamole-add-guacamole-ext: addPrefix: prefix: "/guacamole"
and to the following chain:
chain-guacamole: chain: middlewares: - middleware-guacamole-add-guacamole-ext - middleware-ratelimit - middleware-default-headers - middleware-oauth