Hi @Fredrik Svensson ,
Thanks for reaching out.
In order to get these claims, you need to navigate to your User Flow and select below:
User attributes: isAdmin(custom) along with other claims
Application claims: isAdmin(custom) along with other claims you wish to see it in the token sent back to your application.
Once we signed-up with a new user account and provided values to these attributes, only then we were able to get the claims in the token. The attributes with no value are not returned in the token.
Hope this will help.
Thanks,
Shweta
----------------------------
Please remember to "Accept Answer" if answer helped you.