ZITADELZZITADEL
Powered by
spicypixelS
ZITADELβ€’9mo agoβ€’
5 replies
spicypixel

Retrieving user roles and the shape of the data returned

I'm reading https://zitadel.com/docs/guides/integrate/retrieve-user-roles#retrieve-roles-from-the-userinfo-endpoint and implementing it in my frontend to be able to check through the
urn:zitadel:iam:org:project:{projectId}:roles
urn:zitadel:iam:org:project:{projectId}:roles
key(s) in my response.

In one org a user has a map response like documentation shows, in another org another user has an array of two maps.

Why would I be getting an array of two identical maps?
ZITADEL Docs
This guide explains all the possible ways of retrieving user roles across different organizations and projects using ZITADEL's APIs.
ZITADEL Docs
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Retrieving User Object from UserGrant
boblack_zockerBboblack_zocker / questions-help-bugs
4y ago
**Subject: Issue Retrieving and Assigning Custom Project Roles via API**
Vamsi Krishna CHVVamsi Krishna CH / questions-help-bugs
7mo ago
Issue with Retrieving Session and User Details in Zitadel API v2
fabienneFfabienne / questions-help-bugs
15mo ago