Update get_token function

This commit is contained in:
Luka Radenovic 2022-01-20 08:44:19 +01:00
parent 816fb5ad2f
commit f519a9d5c3

View file

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