Skip to content

Commit

Permalink
config: set OAuth2 application token lifetime to 60 days
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Nov 7, 2024
1 parent c31ee67 commit 7448910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@ ACCOUNTS_LOGIN_VIEW_FUNCTION = (
)
OAUTHCLIENT_AUTO_REDIRECT_TO_EXTERNAL_LOGIN = False # autoredirect to external login

# Inenio-OAuth2Server
# ===================
OAUTH2_PROVIDER_TOKEN_EXPIRES_IN = 60 * 24 * 60 * 60 # 60 days

# Invenio-GitHub
# ==============
GITHUB_INTEGRATION_ENABLED = True
Expand Down

0 comments on commit 7448910

Please sign in to comment.