Skip to main content

Install Python Keycloak client.

Project description

Build Status Documentation Status codecov Maintainability License Version Wheel

Python Client for Keycloak identity and access management service



Install development environment:

$ make install-python

Writing docs

Documentation is written using Sphinx and maintained in the docs folder.

To make it easy to write docs Docker support is available.

First build the Docker container:

$ docker build . -f DockerfileDocs -t python-keycloak-client-docs

Run the container

$ docker run -v `pwd`:/src --rm -t -i -p 8050:8050 python-keycloak-client-docs

Go in the browser to http://localhost:8050 and view the documentation which get refreshed and updated on every update in the documentation source.

Create release

$ git checkout master
$ git pull
-- Update release notes --
$ bumpversion release
$ make deploy-pypi
$ bumpversion --no-tag patch
$ git push origin master --tags

Release Notes

unreleased v0.2.3

  • Bug fix: client_class on KeycloakRealm constructor (thanks to pcaro)

  • Improve Keycloak Client (thanks to ByJacob)

    • add delete in admin client

    • add manage groups in realm

    • add manage user roles

    • rename Roles to ClientRoles


  • Added support for UMA1 for Keycloak < 4.0

  • Allow to query registered users (thanks to aberres)


  • Including aio version in released package. (thanks to mackeyja92)


  • Added async client based on aiohttp (thanks to nkoshell)


  • Add support for password grant (thanks to scranen)

  • Bugfix: Prevent multiple values for keyword argument ‘audience’ in jwt.decode() (thanks to eugenejo)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-keycloak-client-0.2.3.tar.gz (16.3 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page