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