diff --git a/helpers/hydra_oauth.py b/helpers/hydra_oauth.py
index de11c882a50f508d96b4071436989e073f795722..f0a5526b3478a22b7058fb601be4afe3f603ef25 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",
             )