From c040b13b298fce6b967c607de155fd85320b1dea Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 14 Feb 2022 12:51:04 +0100 Subject: [PATCH] providers/proxy: remove leading slash to allow subdirectories in proxy Signed-off-by: Jens Langhammer #2305 --- authentik/providers/proxy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/providers/proxy/models.py b/authentik/providers/proxy/models.py index 10237d218..9e3d0e78d 100644 --- a/authentik/providers/proxy/models.py +++ b/authentik/providers/proxy/models.py @@ -27,7 +27,7 @@ def get_cookie_secret(): def _get_callback_url(uri: str) -> str: - return urljoin(uri, "/outpost.goauthentik.io/callback") + return urljoin(uri, "outpost.goauthentik.io/callback") class ProxyMode(models.TextChoices):