* create gmail strategy and controller
* gmail button connect
* wip
* trying to fix error { error: 'invalid_grant', error_description: 'Bad Request' }
* access token working
* refresh token working
* Getting the short term token from the front is working
* working
* rename token
* remove comment
* rename env var
* move file
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
25 lines
813 B
Plaintext
25 lines
813 B
Plaintext
DEBUG_MODE=true
|
|
PG_DATABASE_URL=postgres://twenty:twenty@localhost:5432/test?connection_limit=1
|
|
# Use this for docker setup
|
|
# PG_DATABASE_URL=postgres://twenty:twenty@postgres:5432/default?connection_limit=1
|
|
|
|
# the URL of the front-end app
|
|
FRONT_BASE_URL=http://localhost:3001
|
|
# random keys used to generate JWT tokens
|
|
ACCESS_TOKEN_SECRET=secret_jwt
|
|
LOGIN_TOKEN_SECRET=secret_login_tokens
|
|
REFRESH_TOKEN_SECRET=secret_refresh_token
|
|
|
|
|
|
# ———————— Optional ————————
|
|
# DEBUG_MODE=false
|
|
# SIGN_IN_PREFILLED=false
|
|
# ACCESS_TOKEN_EXPIRES_IN=30m
|
|
# LOGIN_TOKEN_EXPIRES_IN=15m
|
|
# REFRESH_TOKEN_EXPIRES_IN=90d
|
|
# FRONT_AUTH_CALLBACK_URL=http://localhost:3001/verify
|
|
# AUTH_GOOGLE_ENABLED=false
|
|
# MESSAGING_PROVIDER_GMAIL_ENABLED=false
|
|
# STORAGE_TYPE=local
|
|
# STORAGE_LOCAL_PATH=.local-storage
|