From b3a0b5a69e84eb4d04ec5a1772fff5004df4c903 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 5 Oct 2024 21:28:18 +0200 Subject: [PATCH] fix(auth): remove `userinfoUri` as a positional argument This broke the authentication, because we were expecting the client ID & client secret. Signed-off-by: Raito Bezarius --- buildbot_nix/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 1cb5744..d86f31b 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -80,9 +80,8 @@ class OAuth2Config: debug: bool = False class KeycloakOAuth2Auth(OAuth2Auth): - def __init__(self, userinfoUri: str, *args, debug=False, **kwargs): + def __init__(self, *args, debug=False, **kwargs): super().__init__(*args, **kwargs) - self.userinfoUri = userinfoUri self.debug = debug def createSessionFromToken(self, token):