github jazzband/django-oauth-toolkit 1.7.0
Release 1.7.0

latest releases: 3.0.1, 3.0.0, 2.4.0...
2 years ago

[1.7.0] 2022-01-23

Added

  • #969 Add batching of expired token deletions in cleartokens management command and models.clear_expired()
    to improve performance for removal of large numers of expired tokens. Configure with
    CLEAR_EXPIRED_TOKENS_BATCH_SIZE and
    CLEAR_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.

Don't miss a new django-oauth-toolkit release

NewReleases is sending notifications on new releases.