Fix authorization_response param
This commit is contained in:
parent
7e51c28c3c
commit
f0c087975f
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ class HydraOauth:
|
||||||
token = hydra.fetch_token(
|
token = hydra.fetch_token(
|
||||||
TOKEN_URL,
|
TOKEN_URL,
|
||||||
client_secret=HYDRA_CLIENT_SECRET,
|
client_secret=HYDRA_CLIENT_SECRET,
|
||||||
authorization_response=request.url,
|
authorization_response="https://dashboard.init.stackspin.net"
|
||||||
|
+ request.get_full_path(),
|
||||||
)
|
)
|
||||||
|
|
||||||
session["hydra_token"] = token
|
session["hydra_token"] = token
|
||||||
|
|
Loading…
Add table
Reference in a new issue