[keycloak-user] Creating the UI using REST API

Stian Thorgersen sthorger at redhat.com
Tue Nov 1 05:09:59 EDT 2016


UI for what?

On 31 October 2016 at 09:41, Michael Furman <michael_furman at hotmail.com>
wrote:

> Hi all,
> We need to create our own UI using REST API.
> I have authenticated a user in UI (http://localhost:8080/auth/
> admin/master/console/#/realms/master ) and then I have tried to open some
> REST API from a browser in the new tab (for example
> http://localhost:8080/auth/admin/realms/master/clients).
>
> Unfortunately I get HTTP 401 barrier error.
> I see that I need the barrier token if I access REST API from the command
> line: https://keycloak.gitbooks.io/server-developer-guide/
> content/v/2.2/topics/admin-rest-api.html
>
> What UI should do to access REST API?
> Also to allocate the barrier token and then to access REST API?
> Do you have any JS lib that make the process easier?
> Thank you in advance for your help.
> Best regards,
>    Michael
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list