Open jonathandeclan opened 3 years ago
Kind of the same problem. The user misses the organizations he is a member of. @jonathandeclan did you ever found a solution
The issue seems to be missing entries in the role_assignment
table – when added, my tokens started having organizations and roles. I don't know what UI/API is responsible for creating it, though.
After authenticating using /oauth2/token endpoint with User A's credentials (username and password) with grant_type=password and scope=jwt, JWT token returned does not have organizations/id and roles encoded inside even though User A has been added to Organization A. Properties returned with empty array [].
Are the organizations and roles properties supposed to have data?
Using Docker image: fiware/idm:8.1.0