mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 23:51:13 +01:00
5e48d86efa
* Revert "Revert "Use canonical email when registering users (#1458)" (#1474)"
This reverts commit c8ab1c747e
.
* Only canonicalize gmail and proton
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
71 lines
1.5 KiB
Bash
71 lines
1.5 KiB
Bash
# Server url
|
|
URL=http://localhost
|
|
LOCAL_FILE_UPLOAD=1
|
|
|
|
# Email related settings
|
|
# Only print email content, not sending it
|
|
NOT_SEND_EMAIL=true
|
|
EMAIL_DOMAIN=sl.local
|
|
OTHER_ALIAS_DOMAINS=["d1.test", "d2.test", "sl.local"]
|
|
SUPPORT_EMAIL=support@sl.local
|
|
ADMIN_EMAIL=to_fill
|
|
# Max number emails user can generate for free plan
|
|
MAX_NB_EMAIL_FREE_PLAN=3
|
|
EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
|
|
DKIM_PRIVATE_KEY_PATH=local_data/dkim.key
|
|
|
|
DB_URI=postgresql://test:test@localhost:15432/test
|
|
|
|
# Flask
|
|
FLASK_SECRET=secret
|
|
|
|
# AWS
|
|
BUCKET=to_fill
|
|
AWS_ACCESS_KEY_ID=to_fill
|
|
AWS_SECRET_ACCESS_KEY=to_fill
|
|
|
|
# Paddle
|
|
PADDLE_VENDOR_ID=1
|
|
PADDLE_MONTHLY_PRODUCT_ID=2
|
|
PADDLE_YEARLY_PRODUCT_ID=3
|
|
PADDLE_PUBLIC_KEY_PATH=local_data/paddle.key.pub
|
|
|
|
# OpenId key
|
|
OPENID_PRIVATE_KEY_PATH=local_data/jwtRS256.key
|
|
OPENID_PUBLIC_KEY_PATH=local_data/jwtRS256.key.pub
|
|
|
|
# Words to generate random email alias
|
|
WORDS_FILE_PATH=local_data/test_words.txt
|
|
|
|
# Github
|
|
GITHUB_CLIENT_ID=to_fill
|
|
GITHUB_CLIENT_SECRET=to_fill
|
|
|
|
# Google
|
|
GOOGLE_CLIENT_ID=to_fill
|
|
GOOGLE_CLIENT_SECRET=to_fill
|
|
|
|
# Facebook
|
|
FACEBOOK_CLIENT_ID=to_fill
|
|
FACEBOOK_CLIENT_SECRET=to_fill
|
|
|
|
PGP_SENDER_PRIVATE_KEY_PATH=local_data/private-pgp.asc
|
|
|
|
ALIAS_AUTOMATIC_DISABLE=true
|
|
ALLOWED_REDIRECT_DOMAINS=["test.simplelogin.local"]
|
|
|
|
|
|
DMARC_CHECK_ENABLED=true
|
|
|
|
PROTON_CLIENT_ID=to_fill
|
|
PROTON_CLIENT_SECRET=to_fill
|
|
PROTON_BASE_URL=https://localhost/api
|
|
|
|
POSTMASTER=postmaster@test.domain
|
|
|
|
RECOVERY_CODE_HMAC_SECRET=1234567890123456789
|
|
ENABLE_ALL_REVERSE_ALIAS_REPLACEMENT=true
|
|
MAX_NB_REVERSE_ALIAS_REPLACEMENT=200
|
|
|
|
MEM_STORE_URI=redis://localhost
|
|
|