Update dependency django-oauth-toolkit to v3 #166
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/django-oauth-toolkit-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.3.0→==3.2.0Release Notes
django-oauth/django-oauth-toolkit (django-oauth-toolkit)
v3.2.0Compare Source
Added
Fixed
Bearerkeyword.v3.1.0Compare Source
NOTE: This is the first release under the new django-oauth organization. The project moved in order to be more independent and to bypass quota limits on parallel CI jobs we were encountering in Jazzband. The project will emulate Django Commons going forward in it's operation. We're always on the lookout for willing maintainers and contributors. Feel free to start participating any time. PR's are always welcome.
Added
deployments for development previews and user acceptance testing.
Changed
The project is now hosted in the django-oauth organization.
Fixed
v3.0.1Compare Source
Fixed
v3.0.0Compare Source
WARNING - POTENTIAL BREAKING CHANGES
AbstractAccessTokenmodel require doing amanage.py migrateafter upgrading.manage.py makemigrations).Added
LoginRequiredMiddlewareintroduced in Django 5.1.Changed
pkinstead ofid. This enables, for example, custom swapped models to have a different primary key field.This adds a SHA-256
token_checksumfield that is used to validate tokens.database to use instead of assuming that 'default' is the correct one.
Removed
RedirectURIValidator,WildcardSetper #1345;validate_logout_requestper #1274Fixed
ui_localesrequest parameter triggersAttributeErrorunder 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
v2.4.0Compare Source
WARNING
Issues caused by Release 2.0.0 breaking changes continue to be logged. Please make sure to carefully read these release notes before
performing a MAJOR upgrade to 2.x.
These issues both result in
{"error": "invalid_client"}:The application client secret is now hashed upon save. You must copy it before it is saved. Using the hashed value will fail.
PKCE_REQUIREDis nowTrueby default. You should use PKCE with your client or setPKCE_REQUIRED=Falseif you are unable to fix the client.If you are going to revert migration 0006 make note that previously hashed client_secret cannot be reverted!
Added
OAuth2ExtraTokenMiddlewarefor adding access token to request.See Setup a provider in the Tutorial.
post_logout_redirect_urisfield in the Application Registration formHS256 keys.
This means your client secret will be stored in cleartext but is the only way to successfully use HS256 signed JWT's.
code_challenge_methods_supportedproperty to auto discovery information, per RFC 8414 section 2Fixed
EXPin AccessToken always as UTC instead of (possibly) local timezone.Use setting
AUTHENTICATION_SERVER_EXP_TIME_ZONEto enable different time zone in case the remoteauthentication server does not provide EXP in UTC.
on how to create a code challenge and code verifier
0006_alter_application_client_secret. Note that reversing this migration cannot undo a hashedclient_secret.RedirectURIValidatorin favor ofAllowedURIValidator.validate_user.Removed
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future
3.xreleases. But if you manually upgrade to3.xthen Renovate will re-enableminorandpatchupdates automatically.If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.