Skip to content

Peter-Slump/django-keycloak

Repository files navigation

Django Keycloak

Build Status

Documentation Status

codecov

Maintainability

Django app to add Keycloak support to your project.

Read documentation

http://www.keycloak.org/

An showcase/demo project is added in the example folder.

Development

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 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.

Create release

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

Release Notes

unreleased

v0.1.2-dev

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

About

Django app to add Keycloak support to your project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages