File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ Ash Christopher
14
14
Rodney Richardson
15
15
Hiroki Kiyohara
16
16
Diego Garcia
17
+ Bas van Oostveen
Original file line number Diff line number Diff line change @@ -86,6 +86,19 @@ WRITE_SCOPE
86
86
~~~~~~~~~~~
87
87
The name of the *write * scope.
88
88
89
+ REFRESH_TOKEN_EXPIRE_SECONDS
90
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91
+ The number of seconds before a refresh token gets removed from the database by
92
+ the ``cleartokens` `` management command. It's important that ``cleartokens ``
93
+ runs regularly (eg: via cron) in order for this setting to work.
94
+
95
+ If ``cleartokens `` runs daily the maximum delay before a refresh token is
96
+ removed is ``REFRESH_TOKEN_EXPIRE_SECONDS `` + 1 day. This is normally not a
97
+ problem since refresh tokens are long lived.
98
+
99
+ Note: Refresh tokens need to expire before AccessTokens can be removed from the
100
+ database. Using ``cleartokens `` without ``REFRESH_TOKEN_EXPIRE_SECONDS `` has limited effect.
101
+
89
102
REQUEST_APPROVAL_PROMPT
90
103
~~~~~~~~~~~~~~~~~~~~~~~
91
104
Can be ``'force' `` or ``'auto' ``.
You can’t perform that action at this time.
0 commit comments