Django-authlib

Latest version: v0.16.4

Safety actively analyzes 613460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.16

=================

- Fixed ``pyproject.toml`` so that data files are actually included.
- Dropped compatibility with Python 3.8.
- Added utilities for role-based permissions. The idea is to allow a less
manual way to specify permissions for groups of users, e.g. content managers
which should automatically have access to all models in a list of apps
without having to manually update the list of permissions in the Django
administration interface.

0.15

=================

- Added Python 3.11.
- Switched to hatchling and ruff.
- Added the option to create admin users during admin OAuth if one doesn't
exist already. The ``ADMIN_OAUTH_CREATE_USER_CALLBACK`` setting should be set
to the Python path of a callable receiving the request and the email address;
this callable can (but doesn't have to) create a new user for the email
address if one doesn't exist already. The default is to not create any users.
Adding ``ADMIN_OAUTH_CREATE_USER_CALLBACK =
"authlib.admin_oauth.views.create_superuser"`` makes creation of new
superuser accounts automatic.

0.14

====================

.. _0.14: https://github.com/matthiask/django-authlib/compare/0.13...0.14

- Added Django 4.1 and 4.2 to the CI matrix.
- Made the bundled OAuth2 views pass the exception message to
``messages.error`` to ease debugging a bit.
- Changed the confirmation code used by ``authlib.email`` to be base64 encoded.
This avoids problems where some email clients would mangle the link because
of the included email address. Older codes are still accepted for the moment.
- Added a note regarding ``OAUTHLIB_INSECURE_TRANSPORT`` to the README.

0.13

====================

.. _0.13: https://github.com/matthiask/django-authlib/compare/0.12...0.13

- Added a ``default_auto_field`` to the ``little_auth`` appconfig.

0.12

====================

.. _0.12: https://github.com/matthiask/django-authlib/compare/0.11...0.12

- Added pre-commit.
- Dropped Python < 3.8, Django < 3.2.
- Added docs for how to integrate the email registration functionality.

0.11

====================

- Switched to a declarative setup.
- Switched from Travis CI to GitHub actions.
- Added Python 3.10, Django 4.0 to the CI.
- Avoided the additional request to Google endpoints since the access token
already contains identity information in the ``id_token`` field.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.