Hi @stehranchi,
Welcome to the Auth0 Community!
There are quite a few posts in the forum about this:
https://community.auth0.com/t/how-to-add-roles-and-permissions-to-the-id-token-using-actions/84506