Permission for frontend keycloak

Photo du profil de chaouachi hamed

chaouachi hamed

11:47 (il y a 5 heures)

à Keycloak User

hello

I want to add menus to a role of a user

it possible to make role with menu
what are the steps in the administration of Keycloak to assign menus?

to get this result
{
“username”: “name”,
“enabled”: true,
“emailVerified”: false,
“token”:“azerfcxdrgvhhjklddszedfghj”

“roles”: [
{
“id”: “0830ff39-43ea-48bb-af8f-696bc420c1ce”,
“name”: “create-client”,
“description”: “${role_create-client}”,
“menu”:[
{“name”:“addcategory”,“url”:"/addCategory"},
{“name”:“add product”,“url”:"/addProduct"}]
}
]
}