-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
69 lines (50 loc) · 2.87 KB
/
.env.example
File metadata and controls
69 lines (50 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ─── ObjectStack Authentication Configuration ──────────────────────────────
# Required: Secret key for session encryption and JWT signing
# Generate a secure random string (e.g., using `openssl rand -base64 32`)
AUTH_SECRET=your-super-secret-key-change-this-in-production
# Optional: Base URL for the application (defaults to http://localhost:5320)
# BETTER_AUTH_URL=http://localhost:5320
# ─── Database Configuration ─────────────────────────────────────────────────
# Optional: Database connection URL (defaults to SQLite: objectstack.db)
# Examples:
# - PostgreSQL: postgres://user:password@localhost:5432/objectstack
# - MongoDB: mongodb://localhost:27017/objectstack
# - SQLite: sqlite:objectstack.db (or omit for default)
# OBJECTQL_DATABASE_URL=sqlite:objectstack.db
# ─── OAuth Provider Configuration ───────────────────────────────────────────
# Google OAuth
# GOOGLE_CLIENT_ID=your-google-client-id
# GOOGLE_CLIENT_SECRET=your-google-client-secret
# GitHub OAuth
# GITHUB_CLIENT_ID=your-github-client-id
# GITHUB_CLIENT_SECRET=your-github-client-secret
# Microsoft OAuth
# MICROSOFT_CLIENT_ID=your-microsoft-client-id
# MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
# ─── Enterprise SSO Configuration ───────────────────────────────────────────
# Microsoft Entra ID (Azure AD)
# AZURE_AD_CLIENT_ID=your-azure-client-id
# AZURE_AD_CLIENT_SECRET=your-azure-client-secret
# AZURE_AD_TENANT_ID=your-azure-tenant-id
# Auth0
# AUTH0_CLIENT_ID=your-auth0-client-id
# AUTH0_CLIENT_SECRET=your-auth0-client-secret
# AUTH0_DOMAIN=your-tenant.auth0.com
# Okta
# OKTA_CLIENT_ID=your-okta-client-id
# OKTA_CLIENT_SECRET=your-okta-client-secret
# OKTA_ISSUER=https://your-domain.okta.com
# Keycloak
# KEYCLOAK_CLIENT_ID=your-keycloak-client-id
# KEYCLOAK_CLIENT_SECRET=your-keycloak-client-secret
# KEYCLOAK_ISSUER=https://your-keycloak-server/realms/your-realm
# ─── Two-Factor Authentication ──────────────────────────────────────────────
# Optional: 2FA issuer name (defaults to "ObjectStack")
# BETTER_AUTH_2FA_ISSUER=ObjectStack
# ─── Server Configuration ───────────────────────────────────────────────────
# Server port (defaults to 5320)
# PORT=5320
# CORS origins (comma-separated, defaults to http://localhost:5321,http://localhost:5320)
# CORS_ORIGINS=http://localhost:5321,http://localhost:5320
# Log level (defaults to 'info')
# LOG_LEVEL=info