providers/proxy: remove leading slash to allow subdirectories in proxy

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#2305
This commit is contained in:
Jens Langhammer 2022-02-14 12:51:04 +01:00
parent 4915e980c5
commit c040b13b29
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def get_cookie_secret():
def _get_callback_url(uri: str) -> str: 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): class ProxyMode(models.TextChoices):