Z
ZITADEL
Z
ZITADEL
Can't find user roles in access token
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
β’
9/27/24, 7:17 AM
What happens if you send the scope
urn:zitadel:iam:org:projects:roles
urn:zitadel:iam:org:projects:roles
along
?
S
SaladCesar
I asked the developer of the application I'm trying to get roles with, and it is...
F
FFO
β’
10/2/24, 12:18 PM
Yes
, you can use the flatroles action to create a new claim in the id and
/or access token to have the roles as a list instead of an object
.
F
FFO
β’
10/2/24, 12:54 PM
It should work
Is the name of the function the same as you use in the UI
?
F
FFO
β’
10/2/24, 9:03 PM
Ok great
, we know that
βs not a nice UX though
F
fabienne
β’
1/28/25, 1:41 PM
on the project is a setting where you can tell Zitadel if roles should be enabled or not
. is this enabled
?
F
fabienne
β’
1/28/25, 1:54 PM
how do you get the token
?
F
fabienne
β’
1/29/25, 8:20 AM
Thanks for clarification
, so your problem is solved now
?
F
fabienne
β’
1/29/25, 8:28 AM
Great to hear
urn:zitadel:iam:org:projects:roles
urn:zitadel:iam:org:projects:roles