mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-10-29 09:12:41 +00:00
Fix token parameter naming in user info request (#50)
This commit is contained in:
@@ -207,7 +207,7 @@ class OicClient:
|
||||
self, token: AccessTokenResponse
|
||||
) -> OpenIDSchema | UserInfoErrorResponse | ErrorResponse:
|
||||
"""Get user info from the token"""
|
||||
return self.client.do_user_info_request(access_token=token["access_token"])
|
||||
return self.client.do_user_info_request(token=token["access_token"])
|
||||
|
||||
def check_validity(
|
||||
self, token: AccessTokenResponse
|
||||
|
||||
Reference in New Issue
Block a user