You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
### Security
15
15
-->
16
16
17
-
## [Unreleased]
17
+
## [1.7.0] 2022-01-23
18
18
19
19
### Added
20
-
*#651 Batch expired token deletions in `cleartokens` management command
21
-
* Added pt-BR translations.
22
-
*#1070 Add a Celery task for clearing expired tokens, e.g. to be scheduled as a [periodic task](https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html)
23
-
*#1069 OIDC: Re-introduce [additional claims](https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#adding-claims-to-the-id-token) beyond `sub` to the id_token.
20
+
*#969 Add batching of expired token deletions in `cleartokens` management command and `models.clear_expired()`
21
+
to improve performance for removal of large numers of expired tokens. Configure with
22
+
[`CLEAR_EXPIRED_TOKENS_BATCH_SIZE`](https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#clear-expired-tokens-batch-size) and
*#1070 Add a Celery task for clearing expired tokens, e.g. to be scheduled as a [periodic task](https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html).
which makes the list of additional `claims_supported` available at the OIDC auto-discovery endpoint (`.well-known/openid-configuration`).
24
29
25
30
### Fixed
26
-
*#1012 Return status for introspecting a nonexistent token from 401 to the correct value of 200 per [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662#section-2.2).
31
+
*#1012 Return 200 status code with `{"active": false}` when introspecting a nonexistent token
32
+
per [RFC 7662](https://datatracker.ietf.org/doc/html/rfc7662#section-2.2). It had been incorrectly returning 401.
0 commit comments