Update get_token function
This commit is contained in:
parent
816fb5ad2f
commit
f519a9d5c3
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ class HydraOauth:
|
||||||
hydra = OAuth2Session(
|
hydra = OAuth2Session(
|
||||||
client_id=HYDRA_CLIENT_ID,
|
client_id=HYDRA_CLIENT_ID,
|
||||||
state=state,
|
state=state,
|
||||||
token_endpoint_auth_method="client_secret_basic",
|
|
||||||
)
|
)
|
||||||
token = hydra.fetch_token(
|
token = hydra.fetch_token(
|
||||||
TOKEN_URL, code=code, state=state, client_secret=HYDRA_CLIENT_SECRET
|
TOKEN_URL, code=code, state=state, client_secret=HYDRA_CLIENT_SECRET
|
||||||
|
|
Loading…
Reference in a new issue