To call those endpoints you need to include the bearer token in the authorization header.
We'll soon have a Java API to call the admin endpoints, but in the meantime you can
have a look at the admin-access-app example.
----- Original Message -----
From: "Chris Stier" <john.c.stier(a)gmail.com>
To: keycloak-user(a)lists.jboss.org
Sent: Monday, 28 July, 2014 10:19:34 PM
Subject: [keycloak-user] Getting all roles for a realm and appliaction
Hi all,
Is there currently a way to get all roles for a realm and application? I
found the rest api docs... but when I call
/admin/realms/{realm}/applications/{app-name}/roles with the appropriate
realm and app name I just get the text "Bearer" returned. Is this still in
the works or am I missing something?
Thanks so much!
Chris Stier
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user