Env explainers

feature/saml-login
Omar López 2022-01-12 21:37:51 -07:00
parent 3311e9d954
commit 0aff8dfca6
1 changed files with 3 additions and 4 deletions

View File

@ -15,9 +15,8 @@ DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
GOOGLE_API_CREDENTIALS='{}' GOOGLE_API_CREDENTIALS='{}'
# To enable Login with Google you need to: # To enable Login with Google you need to:
# 1. Set `GOOGLE_API_CREDENTIALS` # 1. Set `GOOGLE_API_CREDENTIALS` above
# 2. Set `GOOGLE_LOGIN_ENABLED` to `true` # 2. Set `GOOGLE_LOGIN_ENABLED` to `true`
# 3. Setup `SAML_DATABASE_URL` and `SAML_ADMINS` down below.
GOOGLE_LOGIN_ENABLED=false GOOGLE_LOGIN_ENABLED=false
BASE_URL='http://localhost:3000' BASE_URL='http://localhost:3000'
@ -27,10 +26,10 @@ JWT_SECRET='secret'
# This is used so we can bypass emails in auth flows for E2E testing # This is used so we can bypass emails in auth flows for E2E testing
PLAYWRIGHT_SECRET= PLAYWRIGHT_SECRET=
# To enable SAML login, set both these variables # To enable SAML login, set both these variables
# @see https://github.com/calendso/calendso/tree/main/ee#setting-up-saml-login
# SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml" # SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml"
# SAML_ADMINS='pro@example.com' # SAML_ADMINS='pro@example.com'
# If you want to Login with Google as well, you need to setup `GOOGLE_API_CREDENTIALS` and `GOOGLE_LOGIN_ENABLE` above.
# @see: https://github.com/calendso/calendso/issues/263 # @see: https://github.com/calendso/calendso/issues/263
# Required for Vercel hosting - set NEXTAUTH_URL to equal your BASE_URL # Required for Vercel hosting - set NEXTAUTH_URL to equal your BASE_URL