Releases: urbanplatform/django-keycloak-auth
Releases · urbanplatform/django-keycloak-auth
2.0.2
What's Changed
- new version 2.0.1: Minor changes to documentation and some bug fixes. Refer to change log for more details.
Changelog
- Fixed middleware unbound variable
token
error when using a token prefix different fromBearer
. - Added new option to customize the expected token prefix via
TOKEN_PREFIX
setting (default isBearer
). - Added error handling when the
AUTH_USER_MODEL
is already registered in the admin.
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- new version 2.0.1: Minor changes to documentation and some bug fixes. Refer to change log for more details.
Changelog
- Fixed a bug on authentication backend that was preventing login.
- Forced the starting and ending
/
on BASE_PATH, because authentication would fail if user forgot it. - Add new documentation on existing/new
KEYCLOAK_CONFIG
settings.
Full Changelog: 2.0...2.0.1
2.0
What's Changed
- new version 2.0: Complete app refactoring by @diogosilva30 and @moritz89 in #39
Changelog
- Usage of python-keycloak as the client to interact with Keycloak
- Adds type hints to improve code readability
- Better Django settings integration and usage of data classes
- Removal of obsolete / dead and repeated code
- Authentication without having to call the Keycloak server (introspection depending on whether data is available in token)
- Support for Async web servers (#23)
- Role/scope checks using introspection and decoding
- Adds CI with support to Python 3.11
- Removed Graphene (GraphQL middleware)
Full Changelog: 1.2.1...2.0
1.2.1
What's Changed
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
- Make KeycloakTestMixin explicit by @moritz89 in #16
- Mark unused GraphQL middleware as deprecated by @moritz89 in #17
- Fix migration issues with django native "squashmigrations" command by @diogosilva30 in #34
New Contributors
- @diogosilva30 made their first contribution in #34
Full Changelog: 1.1.1...1.2.0
1.1.1
1.1.0
What's Changed
- Add support for decoding JWT tokens by @moritz89 in #3
- Format code with blackd by @ftcardoso in #8
- Create code_formatter_check.yml by @ftcardoso in #7
- Update setup.cfg by @ftcardoso in #13
New Contributors
- @moritz89 made their first contribution in #3
- @ftcardoso made their first contribution in #8
Full Changelog: https://github.com/urbanplatform/django-keycloak-auth/commits/1.1