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 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.