<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 9:09 AM, Deepak Garg <span dir="ltr">&lt;<a href="mailto:deepakgarg.garg@gmail.com" target="_blank">deepakgarg.garg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I need your help to test the following admin rest api.</div><div><br></div><div>I was able to get the access_token using <a href="http://localhost:9090/auth/realms/master/protocol/openid-connect/token" target="_blank">http://localhost:9090/auth/realms/master/protocol/openid-connect/token</a> rest api.</div><div><br></div><div>As a next step, I like to get the list of all realms for which I am trying to use the below api</div><div><br></div><div><a href="http://localhost:9090/auth/admin/realms" target="_blank">http://localhost:9090/auth/admin/realms</a><br></div><div><br></div><div>I have got the access token but don&#39;t know how to test this using postman.</div></div></blockquote><div><br></div><div>you should just need to add the authorization header in Postman,  <a href="http://stackoverflow.com/questions/24709944/jwt-token-in-postman-header">http://stackoverflow.com/questions/24709944/jwt-token-in-postman-header</a><br><br></div><div>*note: i haven&#39;t actually tried this*<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div>Please help me on this.</div><div><br></div><div><br></div><div>Thanks</div><div><br></div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div></div>