Exclude some roles from user's JWT (OIDC)

How can we exclude from user’s JWT (OIDC) roles assigned to another clients which are in the same realm? I want to have in user’s JWT only roles of the client I am logged in! Is it possible?