I’m in the middle of migrating the sign in solution of an React/Dotnet application to an AAD based signing approach. At different parts of the react part of the application I need to know what role/job title the current user holds. I could get this information from a call using the Graph Api utilising the v1.0/me endpoint (the information is in the “jobTitle” field). Either calling the API once and storing the information or calling it when needed and using it straight away. My question is the following: is there any way to instead pass along this jobTitle information in the jwt token? In my world that would be a more elegant solution.
I have gathered that you can add roles to the JWT token but as I far as I’ve understood it these roles refers to application specific roles and not general roles for the tenant.

