From 40ea6e5e69868ae5b0abce5ebc861a447cc2648a Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 25 Apr 2026 18:09:57 +0200 Subject: [PATCH] docs: update docker CLAUDE.md and installer submodule for SMTP removal Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/CLAUDE.md | 5 ++--- installer | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/CLAUDE.md b/docker/CLAUDE.md index 17d34b6..7937ecb 100644 --- a/docker/CLAUDE.md +++ b/docker/CLAUDE.md @@ -83,12 +83,11 @@ Idempotent script run inside the Logto container entrypoint. **Clean slate** — 5. Create admin user (SaaS admin with Logto console access) 7b. Configure Logto Custom JWT for access tokens (maps org roles -> `roles` claim: owner->server:admin, operator->server:operator, viewer->server:viewer; saas-vendor global role -> server:admin) 8. Configure Logto sign-in branding (Cameleer colors `#C6820E`/`#D4941E`, logo from `/platform/logo.svg`) -8b. Configure SMTP email connector (if `SMTP_HOST`/`SMTP_USER` env vars set) — discovers factory via `/api/connector-factories`, creates connector with Cameleer-branded HTML email templates for Register/SignIn/ForgotPassword/Generic. Skips gracefully if SMTP not configured. -8c. Enable self-service registration — sets `signInMode: "SignInAndRegister"`, `signUp: { identifiers: ["email"], password: true, verify: true }`, sign-in methods: email+password and username+password (backwards-compatible with admin user). +8c. Configure sign-in experience (sign-in only) — sets `signInMode: "SignIn"` with username+password method. Registration is disabled by default; the vendor admin enables it via the Email Connector UI after configuring SMTP delivery. 9. Cleanup seeded Logto apps 10. Write bootstrap results to `/data/logto-bootstrap.json` 12. Create `saas-vendor` global role with all API scopes and assign to admin user (always runs — admin IS the platform admin). -SMTP env vars for email verification: `SMTP_HOST`, `SMTP_PORT` (default 587), `SMTP_USER`, `SMTP_PASS`, `SMTP_FROM_EMAIL` (default `noreply@cameleer.io`). Passed to `cameleer-logto` container via docker-compose. Both installers prompt for these in SaaS mode. +SMTP / email connector configuration is managed at runtime via the vendor admin UI (Email Connector page). The bootstrap no longer creates email connectors — it defaults to sign-in only mode. Registration is enabled automatically when the admin configures an email connector through the UI. The multi-tenant compose stack is: Traefik + PostgreSQL + ClickHouse + Logto (with bootstrap entrypoint) + cameleer-saas. No `cameleer-server` or `cameleer-server-ui` in compose — those are provisioned per-tenant by `DockerTenantProvisioner`. diff --git a/installer b/installer index 4037fb9..ec1c1f9 160000 --- a/installer +++ b/installer @@ -1 +1 @@ -Subproject commit 4037fb9dfbc1a3a6206648c962826ec716ab1f2d +Subproject commit ec1c1f92d78fd8009ccd9822b162befaf2156700