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
fd2958d267
commit
49415631ed
|
@ -80,9 +80,8 @@ class OAuth2Config:
|
||||||
debug: bool = False
|
debug: bool = False
|
||||||
|
|
||||||
class KeycloakOAuth2Auth(OAuth2Auth):
|
class KeycloakOAuth2Auth(OAuth2Auth):
|
||||||
def __init__(self, userinfoUri: str, *args, debug=False, **kwargs):
|
def __init__(self, *args, debug=False, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
self.userinfoUri = userinfoUri
|
|
||||||
self.debug = debug
|
self.debug = debug
|
||||||
|
|
||||||
def createSessionFromToken(self, token):
|
def createSessionFromToken(self, token):
|
||||||
|
|
Loading…
Reference in a new issue