Hey there @viniciusteixeiradias !
Thanks for the detailed description, very helpful
I think your best bet is to add the permissions to ID tokens by way of the Management API/Node Management Client by way of an action as outlined here: