Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).

This commit is contained in:
Ivan Tashkinov 2020-12-09 21:14:39 +03:00
commit 7fff9c1bee
8 changed files with 14 additions and 17 deletions

View file

@ -648,7 +648,7 @@ config :pleroma, :email_notifications,
}
config :pleroma, :oauth2,
token_expires_in: 600,
token_expires_in: 3600 * 24 * 30,
issue_new_refresh_token: true,
clean_expired_tokens: false