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 <raito@lix.systems>
This commit is contained in:
parent
f360733c50
commit
b74f9e9d05
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue