Update dependency django-oauth-toolkit to v3 #1816
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.3.0
->^3.0.0
Release Notes
jazzband/django-oauth-toolkit (django-oauth-toolkit)
v3.0.1
Compare Source
Fixed
v3.0.0
Compare Source
WARNING - POTENTIAL BREAKING CHANGES
AbstractAccessToken
model require doing amanage.py migrate
after upgrading.manage.py makemigrations
).Added
LoginRequiredMiddleware
introduced in Django 5.1.Changed
pk
instead ofid
. This enables, for example, custom swapped models to have a different primary key field.This adds a SHA-256
token_checksum
field that is used to validate tokens.database to use instead of assuming that 'default' is the correct one.
Removed
RedirectURIValidator
,WildcardSet
per #1345;validate_logout_request
per #1274Fixed
ui_locales
request parameter triggersAttributeError
under certain circumstancesSecurity
REFRESH_TOKEN_REUSE_PROTECTION
.In combination with
ROTATE_REFRESH_TOKEN
,this prevents refresh tokens from being used more than once. See more at
OAuth 2.0 Security Best Current Practice
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.