Release Notes¶
Version 1.1.1¶
Released: October 11, 2025
Breaking Change¶
JWT_ALLAUTH_USER_ATTRIBUTESnow expects a dictionary mapping output claim names to user attribute paths (e.g.,{"organization_id": "organization.id"}) instead of a list of paths. This change prevents duplicate final attribute names (e.g., multipleidkeys) in JWT payloads. The previous list format is still accepted for backward compatibility, but it is deprecated and may be removed in a future release.
Version 1.1.0¶
Released: October 7, 2025
New Features¶
Added support for including additional user attributes in refresh tokens via the
JWT_ALLAUTH_USER_ATTRIBUTESsetting, allowing flexible configuration of user data included in JWT payloads while maintaining the existing role assignment logic.
Bug Fixes¶
Fixed API endpoints that incorrectly required refresh token in request payload when
JWT_ALLAUTH_REFRESH_TOKEN_AS_COOKIEwas enabled, now properly extracting refresh tokens from cookies when configured.Fixed a bug that caused migrations not to run correctly in some situations.
Version 1.0.3¶
Released: August 5, 2025
New Features¶
New
load_user()decorator that loads the complete user object from the database for stateless JWT authentication.Added
JWT_ALLAUTH_COLLECT_USER_AGENTsetting to control user agent data collection during token refresh.Added support for refresh tokens via HTTP cookies with the new
JWT_ALLAUTH_REFRESH_TOKEN_AS_COOKIEsetting.Enhanced token refresh security by moving user agent data collection from request payload to server-side context.
Compatibility with
django-allauth65.10.0,djangorestframework-simplejwt5.5.1, anddjangorestframework3.16.0.
Bug Fixes¶
Improved security for token refresh operations
Fixed a bug that caused migrations not to run correctly in some situations.
Version 1.0.2¶
Released: April 16, 2025
This release introduces significant improvements to the role management system and authentication configuration.
New Features¶
Added automatic role assignment in
UserManager:create_superusernow automatically sets the role toSTAFF_CODEcreate_userautomatically assigns roles based on user flags:STAFF_CODEfor staff usersSUPER_USER_CODEfor superusers
Added database constraints to ensure role consistency:
Staff users must have
STAFF_CODEroleSuperusers must have
SUPER_USER_CODErole
Minor Bug Fixes¶
Automatic configuration of
DEFAULT_AUTHENTICATION_CLASSESwas not working when using addiotionalREST_FRAMEWORKsettings.