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
23 changes: 22 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,30 @@ GEMINI_API_KEY=your-gemini-api-key-here
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret

# ============================================
# DOMAIN CONFIGURATION
# ============================================
# Defaults to scope3.com for backwards compatibility with existing deployments.
# Change these to your own domain when deploying to a new environment.

# Your base domain (e.g., scope3.com, yourdomain.com)
BASE_DOMAIN=scope3.com

# Sales agent domain (full domain for the sales agent server)
# Format: <subdomain>.<base_domain> or just <base_domain>
SALES_AGENT_DOMAIN=sales-agent.scope3.com

# Admin domain (subdomain for admin UI)
# Format: <admin-subdomain>.<sales_agent_domain>
ADMIN_DOMAIN=admin.sales-agent.scope3.com

# Domain for super admin email addresses
# Super admins from this domain get full access across all tenants
SUPER_ADMIN_DOMAIN=scope3.com

# OAuth Redirect URI (must match Google OAuth credentials exactly)
# For production with nginx routing through /admin:
GOOGLE_OAUTH_REDIRECT_URI=https://sales-agent.scope3.com/admin/auth/google/callback
GOOGLE_OAUTH_REDIRECT_URI=https://${SALES_AGENT_DOMAIN}/admin/auth/google/callback
# For local development (if using nginx):
# GOOGLE_OAUTH_REDIRECT_URI=http://localhost/admin/auth/google/callback

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/commitizen-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: |
export PATH="$HOME/.cargo/bin:$PATH"
uv sync
uv pip install commitizen

- name: Check commits follow conventional commit format
run: |
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ app = create_flask_app(agent) # Provides all standard endpoints
### Admin UI Access
```bash
# Local: http://localhost:8001
# Reference Production: https://admin.sales-agent.scope3.com
# Reference Production: https://admin.${SALES_AGENT_DOMAIN}
# Your Production: Configure based on your hosting setup
```

Expand Down
Loading