Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Server Configuration
PORT=3232
BASE_URI=http://localhost:3232

# Auth Mode Configuration
# Options: 'internal' or 'external'
#
# - internal: Run auth server in-process (suitable for demo/development)
# `npm run dev:internal` starts the server in this mode.
# This mode is the default when AUTH_MODE is not set.
#
# - external: Use external auth server (production pattern)
# `npm run dev:external` starts the server in this mode,
# and also starts the demo auth server
#
AUTH_MODE=internal

# External Auth Server URL (required if AUTH_MODE=external,
# ignored if AUTH_MODE=internal)
#
# Examples:
# - Demo auth server running locally: http://localhost:3001
# - Auth0: https://your-tenant.auth0.com
# - Okta: https://your-domain.okta.com
#
AUTH_SERVER_URL=http://localhost:3001

# Redis Configuration (optional)
# If not provided, session management will use in-memory storage
# (sessions will be lost on server restart)
#
REDIS_URL=redis://localhost:6379
REDIS_TLS=0

# NODE_ENV controls Redis connection failure behavior:
# - development: Continue running if Redis connection fails (with warning)
# - production: Exit immediately if Redis connection fails
NODE_ENV=development
641 changes: 178 additions & 463 deletions README.md

Large diffs are not rendered by default.

123 changes: 0 additions & 123 deletions auth-server/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions auth-server/eslint.config.mjs

This file was deleted.

19 changes: 0 additions & 19 deletions auth-server/jest.config.js

This file was deleted.

Loading