diff --git a/src/idpyoidc/server/oidc/userinfo.py b/src/idpyoidc/server/oidc/userinfo.py index 1a9c325..281b669 100755 --- a/src/idpyoidc/server/oidc/userinfo.py +++ b/src/idpyoidc/server/oidc/userinfo.py @@ -148,7 +148,8 @@ def process_request(self, request=None, **kwargs): _session_info["branch_id"], scopes=access_token.scope, claims_release_point="userinfo" ) info = _cntxt.claims_interface.get_user_claims( - _session_info["user_id"], claims_restriction=_claims_restriction + _session_info["user_id"], claims_restriction=_claims_restriction, + client_id=_session_info["client_id"] ) info["sub"] = _grant.sub if _grant.add_acr_value("userinfo"):