Django app to add Keycloak support to your project.
An showcase/demo project is added in the example folder.
Install development environment:
$ make install-python
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 django-keycloak-docs
Run the container
$ docker run -v `pwd`:/src --rm -t -i -p 8050:8050 django-keycloak-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.
$ source ../aio/venv-aio-app/bin/activate
$ git checkout master
$ git pull
$ make deploy
$ source ../aio/venv-aio-app/bin/activate
$ git checkout master
$ git pull
$ bumpversion --no-tag patch
$ make deploy
unreleased
v0.3.0-dev
- Fix token validation
- Add customizeability for user creation (username, mapper beweteen django usermodel - first name & last name - and keycloak)
v0.1.2-dev
- Add support for Keycloak 4.* using setting: KEYCLOAK_VERSION = 4
v0.1.1
- Added support for remote user. Handling identities without registering a User model. (thanks to bossan)
- Addes support for permissions using resources and scopes. (thanks to bossan)
- Added example project.
- Updated documentation.
v0.1.0
- Correctly extract email field name on UserModel (thanks to swist)
- Add support for Oauth2 Token Exchange to exchange tokens with remote clients. Handy when using multiple applications with different clients which have to communicate with each other.
- Support for session iframe