mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 20:55:42 +00:00
* wip * feat: make forms functional * feat: finalize pages * chore: remove unused translations * feat: app context * feat: user context * feat: finalize username login * fix: use correct tab order in login form * feat: add oauth logic * chore: update readme and assets * chore: rename docs back to assets * feat: favicons * feat: custom background image config option * chore: add acknowledgements for background image * feat: sanitize redirect URL * feat: sanitize redirect URL on check * chore: fix dependabot config * refactor: bot suggestions * fix: correctly redirect to app and check for untrusted redirects * fix: run oauth auto redirect only when there is a redirect URI * refactor: change select color * fix: fix dockerfiles * fix: fix hook rendering * chore: remove translations cdn * chore: formatting * feat: validate api response against zod schema * fix: use axios error instead of generic error in login page
33 lines
976 B
Plaintext
33 lines
976 B
Plaintext
PORT=3000
|
|
ADDRESS=0.0.0.0
|
|
SECRET=app_secret
|
|
SECRET_FILE=app_secret_file
|
|
APP_URL=http://localhost:3000
|
|
USERS=your_user_password_hash
|
|
USERS_FILE=users_file
|
|
COOKIE_SECURE=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=0
|
|
APP_TITLE=Tinyauth SSO
|
|
FORGOT_PASSWORD_MESSAGE=Some message about resetting the password
|
|
OAUTH_AUTO_REDIRECT=none
|
|
BACKGROUND_IMAGE=some_image_url
|