Start your Strapi application with autoReload enabled. Learn more
yarn install
yarn develop
Authenticated
Public
Employee
Manager
Supplier
Since Strapi version 4.2.2 the route api/users/me no longer returns the role field, but accepts populating. So now to get the user’s role you need to populate the role field, thus the call will be api/users/me?populate=role. Note that you also need to give the role permissions to find role too. Source
yarn strapi generate