File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
17
17
## [ unreleased]
18
18
19
+ ### Changed
20
+ * #1211 documentation improve on 'AUTHORIZATION_CODE_EXPIRE_SECONDS'.
21
+
19
22
## [ 2.2.0] 2022-10-18
20
23
21
24
### WARNING
@@ -29,7 +32,6 @@ These issues both result in `{"error": "invalid_client"}`:
29
32
30
33
2 . ` 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.
31
34
32
-
33
35
### Added
34
36
* #1208 Add 'code_challenge_method' parameter to authorization call in documentation
35
37
* #1182 Add 'code_verifier' parameter to token requests in documentation
Original file line number Diff line number Diff line change @@ -29,9 +29,12 @@ List of available settings
29
29
30
30
ACCESS_TOKEN_EXPIRE_SECONDS
31
31
~~~~~~~~~~~~~~~~~~~~~~~~~~~
32
+
33
+ Default: ``36000 ``
34
+
32
35
The number of seconds an access token remains valid. Requesting a protected
33
36
resource after this duration will fail. Keep this value high enough so clients
34
- can cache the token for a reasonable amount of time. (default: 36000)
37
+ can cache the token for a reasonable amount of time.
35
38
36
39
ACCESS_TOKEN_MODEL
37
40
~~~~~~~~~~~~~~~~~~
@@ -69,9 +72,11 @@ this value if you wrote your own implementation (subclass of
69
72
70
73
AUTHORIZATION_CODE_EXPIRE_SECONDS
71
74
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75
+ Default: ``60 ``
76
+
72
77
The number of seconds an authorization code remains valid. Requesting an access
73
- token after this duration will fail. :rfc: `4.1.2 ` recommends a
74
- 10 minutes (600 seconds) duration .
78
+ token after this duration will fail. :rfc: `4.1.2 ` recommends expire after a short lifetime,
79
+ with 10 minutes (600 seconds) being the maximum acceptable .
75
80
76
81
CLIENT_ID_GENERATOR_CLASS
77
82
~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments