django-oauth-toolkit v1.7.0 Release Notes
Release Date: 2022-01-23 // over 2 years ago-
โ Added
- #969 Add batching of expired token deletions in
cleartokens
management command andmodels.clear_expired()
to improve performance for removal of large numers of expired tokens. Configure withCLEAR_EXPIRED_TOKENS_BATCH_SIZE
andCLEAR_EXPIRED_TOKENS_BATCH_INTERVAL
. - โฑ #1070 Add a Celery task for clearing expired tokens, e.g. to be scheduled as a periodic task.
- ๐ #1062 Add Brazilian Portuguese (pt-BR) translations.
- #1069 OIDC: Add an alternate form of
get_additional_claims()
which makes the list of additional
claims_supported
available at the OIDC auto-discovery endpoint (.well-known/openid-configuration
).
๐ Fixed
- #1012 Return 200 status code with
{"active": false}
when introspecting a nonexistent token per RFC 7662. It had been incorrectly returning 401.
- #969 Add batching of expired token deletions in