From f0c087975fe41eda916a219026476b32cdf6bc97 Mon Sep 17 00:00:00 2001 From: Luka Radenovic Date: Wed, 19 Jan 2022 10:51:39 +0100 Subject: [PATCH] Fix authorization_response param --- helpers/hydra_oauth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/hydra_oauth.py b/helpers/hydra_oauth.py index 96bd13d..9985a50 100644 --- a/helpers/hydra_oauth.py +++ b/helpers/hydra_oauth.py @@ -30,7 +30,8 @@ class HydraOauth: token = hydra.fetch_token( TOKEN_URL, client_secret=HYDRA_CLIENT_SECRET, - authorization_response=request.url, + authorization_response="https://dashboard.init.stackspin.net" + + request.get_full_path(), ) session["hydra_token"] = token