You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an application logic relies on user roles, when it fetches users it usually requires their roles. When you fetch one user make another api call to get it's role is not a big deal, but if you are listing users - it's a problem.
Describe what you'd like Logto to have
add an includeRoles query param to /api/users and /api/users/{id} and return users with attached roles in one shot
The text was updated successfully, but these errors were encountered:
What problem did you meet?
If an application logic relies on user roles, when it fetches users it usually requires their roles. When you fetch one user make another api call to get it's role is not a big deal, but if you are listing users - it's a problem.
Describe what you'd like Logto to have
add an
includeRoles
query param to /api/users and /api/users/{id} and return users with attached roles in one shotThe text was updated successfully, but these errors were encountered: