fix(keycloak): now return all roles
This commit is contained in:
parent
58cc2aaa14
commit
2dd6a48793
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ export async function deleteUser(userId: string) {
|
|||
* Get roles list or specific role data
|
||||
*/
|
||||
export async function listRole() {
|
||||
const res = await fetch(`${KC_URL}/admin/realms/${KC_REALM}/roles`, {
|
||||
const res = await fetch(`${KC_URL}/admin/realms/${KC_REALM}/roles?max=-1`, {
|
||||
headers: {
|
||||
authorization: `Bearer ${await getToken()}`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue