Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative ways to access Keycloak REST API

Tags:

keycloak

We are trying to configure keycloak with the REST API (e.g. adding users, roles etc). We would like to use the REST API but it seems only Java and Javascript is officially supported which I find strange for a REST API. Isn't it possible to use say a Python REST client to access Keycloak ?

like image 276
Paul Praet Avatar asked Sep 25 '22 18:09

Paul Praet


People also ask

Does Keycloak have an API?

Keycloak comes with a fully functional Admin REST API with all features provided by the Admin Console. To invoke the API you need to obtain an access token with the appropriate permissions. The required permissions are described in Server Administration.


1 Answers

Keycloak provides a RESTful API, which pretty much means that you can use it with any programming language you want, not just Java or JavaScript.

And you are correct, the official Keycloak admin is provided in Java. But nothing can stop you from looking at the docs and writing yours.

like image 101
abstractj Avatar answered Oct 12 '22 23:10

abstractj