'How to retrieve JWT token using postman with user role attribute

In my application, we have four different user roles. When I tried to generate the JWT token using postman, though the token is retrieved, it is not providing the user role so that I cannot inject the retrieved token in the respective endpoints. So how can I retrieve the right token using postman

get : https://login.microsoftonline.com/tenantid/oauth2/token

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source