Roles in id token

Hi! I've searched everywhere but I can't find a way to customize the id token in order to include roles. Is this supported, or is it only possible with the access token?
Was this page helpful?