Skip to content

Commit b9083eb

Browse files
damaestron2ygk
andauthored
Update docs to inform that the default ACCESS_TOKEN_EXPIRE_SECONDS is 36000. (#917)
Co-authored-by: Alan Crosswell <[email protected]>
1 parent ca90e8f commit b9083eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/settings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ACCESS_TOKEN_EXPIRE_SECONDS
3131
~~~~~~~~~~~~~~~~~~~~~~~~~~~
3232
The number of seconds an access token remains valid. Requesting a protected
3333
resource after this duration will fail. Keep this value high enough so clients
34-
can cache the token for a reasonable amount of time.
34+
can cache the token for a reasonable amount of time. (default: 36000)
3535

3636
ACCESS_TOKEN_MODEL
3737
~~~~~~~~~~~~~~~~~~
@@ -142,7 +142,7 @@ The number of seconds before a refresh token gets removed from the database by
142142
the ``cleartokens`` management command. Check :ref:`cleartokens` management command for further info.
143143
NOTE: This value is completely ignored when validating refresh tokens.
144144
If you don't change the validator code and don't run cleartokens all refresh
145-
tokens will last until revoked or the end of time.
145+
tokens will last until revoked or the end of time. You should change this.
146146

147147
REFRESH_TOKEN_GRACE_PERIOD_SECONDS
148148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)