Strapi jwt auth without users created not giving the role to the token

The previous code works fine, in the meaning of I can execute it remotely, and it returns the info. What fails is the creation of the strapi jwt token with the right role