feat(auth): add Discord OAuth sign-in and user timezones
Add persistent user and session storage, protected profile requests, and React sign-in controls. Capture and preserve each user's timezone, and load development and production configuration before migrations and server startup.
This commit is contained in:
5
.env.production.example
Normal file
5
.env.production.example
Normal file
@@ -0,0 +1,5 @@
|
||||
# Loaded by bun start and bun run db:migrate:production.
|
||||
# Set your public origin, e.g. https://habits.example.com
|
||||
APP_ORIGIN=
|
||||
# Optional overrides: PORT, DATABASE_PATH, DISCORD_CLIENT_ID,
|
||||
# DISCORD_CLIENT_SECRET, AUTH_COOKIE_SECRET.
|
||||
Reference in New Issue
Block a user