[keycloak-user] Keycloak admin rest api - admin/realms

Luke Holmquist lholmqui at redhat.com
Tue Aug 2 10:38:14 EDT 2016


On Tue, Aug 2, 2016 at 9:09 AM, Deepak Garg <deepakgarg.garg at gmail.com>
wrote:

> Hi,
>
> I need your help to test the following admin rest api.
>
> I was able to get the access_token using
> http://localhost:9090/auth/realms/master/protocol/openid-connect/token
> rest api.
>
> As a next step, I like to get the list of all realms for which I am trying
> to use the below api
>
> http://localhost:9090/auth/admin/realms
>
> I have got the access token but don't know how to test this using postman.
>

you should just need to add the authorization header in Postman,
http://stackoverflow.com/questions/24709944/jwt-token-in-postman-header

*note: i haven't actually tried this*

>
>
> Please help me on this.
>
>
> Thanks
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160802/22523bec/attachment.html 


More information about the keycloak-user mailing list