=============== Django Keycloak
.. image:: https://www.travis-ci.org/Peter-Slump/django-keycloak.svg?branch=master :target: https://www.travis-ci.org/Peter-Slump/django-keycloak :alt: Build Status .. image:: https://readthedocs.org/projects/django-keycloak/badge/?version=latest :target: http://django-keycloak.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://codecov.io/gh/Peter-Slump/django-keycloak/branch/master/graph/badge.svg :target: https://codecov.io/gh/Peter-Slump/django-keycloak :alt: codecov .. image:: https://api.codeclimate.com/v1/badges/eb19f47dc03dec40cea7/maintainability :target: https://codeclimate.com/github/Peter-Slump/django-keycloak/maintainability :alt: Maintainability
Django app to add Keycloak support to your project.
Read documentation <http://django-keycloak.readthedocs.io/en/latest/>_
An showcase/demo project is added in the example folder <example/README.md>_.
Development
Install development environment:
.. code:: bash
$ 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:
.. code:: bash
$ docker build . -f DockerfileDocs -t django-keycloak-docs
Run the container
.. code:: bash
$ 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
.. code:: bash
$ git checkout master
$ git pull
$ bumpversion release
$ make deploy-pypi
$ bumpversion --no-tag patch
$ git push origin master --tags
Release Notes
unreleased
v0.2.5
- Add registeration redirect view
v0.2.4
- Fixed refresh token expiration date exists
v0.2.3
- Fixed ENTTITLMENT issue by commenting the code temporarily, till fully fixed
- https://issues.redhat.com/browse/KEYCLOAK-8353
v0.2.2
- Fixed issue by adding migration file to repo
v0.2.1
- Added a feature to use redirect url after successful login using settings.LOGIN_REDIRECT_URL
v0.2.0
- Added support for Python 3.9 & Django 4.1
- Fixed integration issues with keycloak > v4
- Updated documentation.
v0.1.2-dev
v0.1.1
- Added support for remote user. Handling identities without registering a User
model. (thanks to
bossan <https://github.com/bossan>_) - Addes support for permissions using resources and scopes.
(thanks to
bossan <https://github.com/bossan>_) - Added example project.
- Updated documentation.
v0.1.0
- Correctly extract email field name on UserModel (thanks to
swist <https://github.com/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
Metadata
Release files for django-keycloak-pkg 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-keycloak-pkg-0.2.5.tar.gz | 28.2 kB | Without provenance | Details for django-keycloak-pkg-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_keycloak_pkg-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for django_keycloak_pkg-0.2.5-py3-none-any.whl |
Total release size: 71.8 kB
Release files / django-keycloak-pkg-0.2.5.tar.gz
| Download URL | django-keycloak-pkg-0.2.5.tar.gz |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
501242d7c0737988116796099aaf689f176e19c3fc9de39d863e7c34a23d37b7
|
|
BLAKE2b-256 checksum How to use checksums |
68e5e58c3f98bc116e5d8e6af3c4c0fb800f331e88b3c263fc5b26df8a2c8267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / django_keycloak_pkg-0.2.5-py3-none-any.whl
| Download URL | django_keycloak_pkg-0.2.5-py3-none-any.whl |
|---|---|
| Size | 43.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f400306282812801d8c4b835962bed854b3f61a7320a7ec9d75b065b808bb1d
|
|
BLAKE2b-256 checksum How to use checksums |
bdba6b91b07bcaacb8fae80f21f0e539d9a0c7042882eddd9c08023181ebf00c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for django-keycloak-pkg 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.