Allow returning refresh token in json or cookie

This commit is contained in:
rijkvanzanten
2020-07-07 10:50:40 -04:00
parent 2c75c91fbd
commit 2b8cedfd1f
3 changed files with 36 additions and 6 deletions

View File

@@ -32,14 +32,16 @@ STORAGE_DIGITALOCEAN_BUCKET="my-files"
STORAGE_DIGITALOCEAN_REGION="ams3"
####################################################################################################
# Auth
# Security
SECRET="abcdef"
ACCESS_TOKEN_TTL="15m"
REFRESH_TOKEN_TTL="7d"
REFRESH_TOKEN_COOKIE_SECURE="false"
REFRESH_TOKEN_COOKIE_SAME_SITE="Lax"
####################################################################################################
# SSO (oAuth) Providers
# SSO (OAuth) Providers
OAUTH_PROVIDERS="github, facebook"