diff --git a/core/admin/mailu/oidc.py b/core/admin/mailu/oidc.py index a286a1f8..32e40e5d 100644 --- a/core/admin/mailu/oidc.py +++ b/core/admin/mailu/oidc.py @@ -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