auth token过期时间7天

This commit is contained in:
xiaoxiaoqiong 2022-06-20 15:38:42 +08:00
parent 21ccedab9c
commit 9fe8df3c1b
1 changed files with 2 additions and 2 deletions

View File

@ -101,12 +101,12 @@ Doorkeeper.configure do
# Authorization Code expiration time (default: 10 minutes).
#
# authorization_code_expires_in 10.minutes
authorization_code_expires_in 7.days
# Access token expiration time (default: 2 hours).
# If you want to disable expiration, set this to `nil`.
#
# access_token_expires_in 2.hours
access_token_expires_in 7.days
# Assign custom TTL for access tokens. Will be used instead of access_token_expires_in
# option if defined. In case the block returns `nil` value Doorkeeper fallbacks to