feat: enforce email as primary user identity in SaaS mode
All users in SaaS mode must have an email address. The bootstrap creates the admin user with primaryEmail set to SAAS_ADMIN_EMAIL (defaults to <SAAS_ADMIN_USER>@<PUBLIC_HOST>). This prevents the admin from being locked out when self-service registration (which requires email) is enabled via the Email Connector UI. Documentation updated across all CLAUDE.md files, .env.example, user-manual.md, and installer submodule (README, .env.example, compose). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,13 +26,12 @@ Both audiences share the same UI and workflows. The self-hosted setup section at
|
||||
|
||||
### Logging In
|
||||
|
||||
Cameleer SaaS uses Logto for single sign-on (SSO). To log in:
|
||||
Cameleer SaaS uses Logto for single sign-on (SSO). Email is the primary user identity — all users must have an email address. To log in:
|
||||
|
||||
1. Navigate to the Cameleer SaaS URL in your browser.
|
||||
2. You will see the login screen with the title "Cameleer SaaS" and a subtitle "Managed Apache Camel Runtime."
|
||||
3. Click **Sign in with Logto**.
|
||||
4. Authenticate with your Logto credentials (username/password or any configured social login).
|
||||
5. After successful authentication, you are redirected back to the dashboard.
|
||||
2. You will be redirected to the Cameleer sign-in page.
|
||||
3. Enter your email or username and password.
|
||||
4. After successful authentication, you are redirected to the dashboard.
|
||||
|
||||

|
||||
|
||||
@@ -444,6 +443,7 @@ Copy `.env.example` to `.env` and configure as needed:
|
||||
| `PUBLIC_PROTOCOL` | Public protocol (`http` or `https`) | `https` |
|
||||
| `SAAS_ADMIN_USER` | Platform admin username | `admin` |
|
||||
| `SAAS_ADMIN_PASS` | Platform admin password | `admin` |
|
||||
| `SAAS_ADMIN_EMAIL` | Platform admin email (primary identity) | `<SAAS_ADMIN_USER>@<PUBLIC_HOST>` |
|
||||
| `TENANT_ADMIN_USER` | Tenant admin username | `camel` |
|
||||
| `TENANT_ADMIN_PASS` | Tenant admin password | `camel` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user