From eb8cb669a677ad857d2424188de8ab3222b9fd5e Mon Sep 17 00:00:00 2001 From: Niklas Reimer Date: Mon, 27 Jan 2025 10:34:50 +0100 Subject: [PATCH] fix authup redirect (#262) When a OIDC provider is configured, you'll get redirected to authup by Keycloak which redirects you to the DNPM:DIP. Currently the url looks like this: https://myserver/authup//someurl and produces an error. Manually removing the additional / fixes the issue. --- minimal/modules/dnpm-node-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal/modules/dnpm-node-compose.yml b/minimal/modules/dnpm-node-compose.yml index c1f7dde..8c2b146 100644 --- a/minimal/modules/dnpm-node-compose.yml +++ b/minimal/modules/dnpm-node-compose.yml @@ -36,7 +36,7 @@ services: - DB_DATABASE=auth labels: - "traefik.enable=true" - - "traefik.http.middlewares.authup-strip.stripprefix.prefixes=/auth" + - "traefik.http.middlewares.authup-strip.stripprefix.prefixes=/auth/" - "traefik.http.routers.dnpm-auth.middlewares=authup-strip" - "traefik.http.routers.dnpm-auth.rule=PathPrefix(`/auth`)" - "traefik.http.services.dnpm-auth.loadbalancer.server.port=3000"