From 816fb5ad2f4fb7ba1f89f1038312ba4888b59445 Mon Sep 17 00:00:00 2001 From: Luka Radenovic Date: Thu, 20 Jan 2022 08:00:54 +0100 Subject: [PATCH] Update get_token function --- helpers/hydra_oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/hydra_oauth.py b/helpers/hydra_oauth.py index de11c88..f0a5526 100644 --- a/helpers/hydra_oauth.py +++ b/helpers/hydra_oauth.py @@ -27,7 +27,7 @@ class HydraOauth: def get_token(state, code): try: hydra = OAuth2Session( - HYDRA_CLIENT_ID, + client_id=HYDRA_CLIENT_ID, state=state, token_endpoint_auth_method="client_secret_basic", )