Fix authorization_response param

This commit is contained in:
Luka Radenovic 2022-01-19 10:51:39 +01:00
parent 7e51c28c3c
commit f0c087975f

View file

@ -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