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:
parent
4915e980c5
commit
c040b13b29
|
@ -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):
|
||||||
|
|
Reference in New Issue