Update get_token function

This commit is contained in:
Luka Radenovic 2022-01-20 08:00:54 +01:00
parent f0d83c6886
commit 816fb5ad2f

View file

@ -27,7 +27,7 @@ class HydraOauth:
def get_token(state, code): def get_token(state, code):
try: try:
hydra = OAuth2Session( hydra = OAuth2Session(
HYDRA_CLIENT_ID, client_id=HYDRA_CLIENT_ID,
state=state, state=state,
token_endpoint_auth_method="client_secret_basic", token_endpoint_auth_method="client_secret_basic",
) )