How to get User Permission in User Profile Using SPI #29178
Unanswered
taru-j-a-i-n
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@taru-j-a-i-n Can you close thid discussion in favor of #29187 ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to create an SPI to retrieve the User Profile having user details, roles, claims and permissins so I am unable t fetch the permission for thatr user how to do it which class is required and wjhat alll Permutaation n combinitions are needed.
sample output of User profile should have userPermissions and claims as not null and not empty
id":"094073fb-0f5e-419f-a582-d25b8b5b5903","email":"admin@admin.com","firstName":"Admin","lastName":"listener","userRoles":["default-roles-portal-realm","create-client","uma_protection","read-token","view-profile","view-groups","view-consent","view-applications","manage-consent","manage-account-links","delete-account"],"userPermissions":[],"claims":null}
Beta Was this translation helpful? Give feedback.
All reactions