From bda7f3df97d471f9ddff81226c0cf8d17282d70c Mon Sep 17 00:00:00 2001 From: lfreeke Date: Mon, 14 Sep 2026 13:05:21 +0200 Subject: [PATCH] [FIX] login_params should be data --- base_external_system_oauth/models/auth_oauth_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_external_system_oauth/models/auth_oauth_provider.py b/base_external_system_oauth/models/auth_oauth_provider.py index da11ccfff..0f7a7a25a 100644 --- a/base_external_system_oauth/models/auth_oauth_provider.py +++ b/base_external_system_oauth/models/auth_oauth_provider.py @@ -53,7 +53,7 @@ def _get_access_token_basic(self): } basic = HTTPBasicAuth(self.client_id, self.client_secret) response = requests.post( - url=self.auth_endpoint, params=login_params, auth=basic, timeout=16 + url=self.auth_endpoint, data=login_params, auth=basic, timeout=16 ) self._check_response(response) return response.json()["access_token"]