mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-27 20:25:41 +00:00
* feat: add sqlite database for storing sessions * refactor: use db instance instead of service in auth service * fix: coderabbit suggestions
33 lines
1018 B
Plaintext
33 lines
1018 B
Plaintext
PORT=3000
|
|
ADDRESS=0.0.0.0
|
|
APP_URL=http://localhost:3000
|
|
USERS=your_user_password_hash
|
|
USERS_FILE=users_file
|
|
SECURE_COOKIE=false
|
|
GITHUB_CLIENT_ID=github_client_id
|
|
GITHUB_CLIENT_SECRET=github_client_secret
|
|
GITHUB_CLIENT_SECRET_FILE=github_client_secret_file
|
|
GOOGLE_CLIENT_ID=google_client_id
|
|
GOOGLE_CLIENT_SECRET=google_client_secret
|
|
GOOGLE_CLIENT_SECRET_FILE=google_client_secret_file
|
|
GENERIC_CLIENT_ID=generic_client_id
|
|
GENERIC_CLIENT_SECRET=generic_client_secret
|
|
GENERIC_CLIENT_SECRET_FILE=generic_client_secret_file
|
|
GENERIC_SCOPES=generic_scopes
|
|
GENERIC_AUTH_URL=generic_auth_url
|
|
GENERIC_TOKEN_URL=generic_token_url
|
|
GENERIC_USER_URL=generic_user_url
|
|
DISABLE_CONTINUE=false
|
|
OAUTH_WHITELIST=
|
|
GENERIC_NAME=My OAuth
|
|
SESSION_EXPIRY=7200
|
|
LOGIN_TIMEOUT=300
|
|
LOGIN_MAX_RETRIES=5
|
|
LOG_LEVEL=debug
|
|
APP_TITLE=Tinyauth SSO
|
|
FORGOT_PASSWORD_MESSAGE=Some message about resetting the password
|
|
OAUTH_AUTO_REDIRECT=none
|
|
BACKGROUND_IMAGE=some_image_url
|
|
GENERIC_SKIP_SSL=false
|
|
RESOURCES_DIR=/data/resources
|
|
DATABASE_PATH=/data/tinyauth.db |