This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
django-oauth-toolkit | dependencies | major |
^1.7.0 -> ^2.0.0
|
v2.1.0
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_REQUIRED
is now True
by default. You should use PKCE with your client or set PKCE_REQUIRED=False
if you are unable to fix the client.
prompt=login
for the OIDC Authorization Code Flow end user Authentication Request.createapplication
management command enhanced to display an auto-generated secret before it gets hashed.v2.0.0
This is a major release with BREAKING changes. Please make sure to review these changes before upgrading:
PKCE_REQUIRED = False
in your settings.pyapplication.client_secret
values to be hashed with Django's default password hashing algorithm
and can not be reversed. When adding or modifying an Application in the Admin console, you must copy the
auto-generated or manually-entered client_secret
before hitting Save.oidc_claim_scope = None
in your subclass of OAuth2Validator
.access_token
available to get_oidc_claims
when called from get_userinfo_claims
.--algorithm
argument to createapplication
management commandvalidate_bearer_token()
to properly set request.scopes
to the list of granted scopes.--skip-authorization
argument of the createapplication
management command.urn:ietf:wg:oauth:2.0:oob
and urn:ietf:wg:oauth:2.0:oob:auto
which are replaced
by RFC 8252 "OAuth 2.0 for Native Apps" BCP. Google has
deprecated use of oob with
a final end date of 2022-10-03. If you still rely on oob support in django-oauth-toolkit, do not upgrade to this release.This MR has been generated by Renovate Bot.