Repository navigation
Conversation
Logto OSS 1.45.0 (work item 5433): two standard Logto replicas on a bundled postgres-highly-available 2.8.1 (or single postgres 3.4.1), a public Admin Console workload, an admin account created on first boot from a prerequisite secret, optional custom domains. Includes catalog.yaml (and logto as an alternative in keycloak/fusionauth), wizard.yaml, e2e tests and a briefing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
- wizard: HA credentials help no longer points at a README section that does not exist; URL-safe character set matches the README - values/README: backup minio comments point at the database templates' docs instead of a missing "Storage setup" section - README: notes on canonical URLs with custom domains, and on domains across uninstall/reinstall - bootstrap also verifies the admin's users_roles (Console user + Management API admin), not only the tenant organization role - admin-console-public check cannot pass when the URL rewrite matches nothing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
Logto's pg pool emits an unhandled 'error' when PostgreSQL drops a connection, so a Patroni failover crashed every replica at the same moment (test round A5: ~60-70 s of failed sign-ins plus a cold boot of both replicas). The start script now preloads a guard that swallows only lost-connection errors; any other uncaught error still exits 1. Re-test: SIGSTOP of the leader gave ~58 s of failed sign-ins (the failover itself), zero Logto restarts, and all six checks passed afterwards. Also from the test round: the README quotes the platform's missing-secret message and notes that the first helm upgrade can restart the bundled database; single-admin is marked as HA-baseline only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
Template e2e tests
|
| Scenario | Check | Result |
|---|---|---|
| install 1.0.0 | install + every workload ready | pass |
| install 1.0.0 | rendered == stored (Console Drift tab) | warn — workload/e2eiwif1st10-postgres-ha spec.containers[0].livenessProbe.httpGet.scheme: stored "HTTP", chart omits it; workload/e2eiwif1st10-postgres-ha spec.containers[0].livenessProbe.initialDelaySeconds: stored 60, chart omits it; workload/e2eiwif1st10-postgres-ha spec.containers[0].livenessProbe.successThreshold: stored 1, chart omits it; workload/e2eiwif1st10-postgres-ha spec.containers[0].read |
| install 1.0.0 | issuer-is-public-endpoint | pass |
| install 1.0.0 | admin-console-public | pass |
| install 1.0.0 | bootstrap-admin-sign-in | pass |
| install 1.0.0 | oidc-code-flow | pass |
| install 1.0.0 | rbac-and-m2m | pass |
| install 1.0.0 | mfa-totp | pass |
| install 1.0.0 | captcha-turnstile | pass |
| install 1.0.0 | mfa-backup-code | pass |
| install 1.0.0 | password-policy | pass |
| install 1.0.0 | user-suspension | pass |
| install 1.0.0 | custom-jwt-claims | pass |
| install 1.0.0 | single-admin | pass |
| install 1.0.0 | schema-current | pass |
| install 1.0.0 | no-op upgrade ×2 (no churn) | pass |
| install 1.0.0 | uninstall removes everything | pass |
jacobecox
marked this pull request as ready for review
October 30, 2026 17:49
github-actions Bot
added a commit
that referenced
this pull request
Oct 30, 2026
New template: Logto 1.0.0 (5433)
…ustom-domain round) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
…onnectors Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
…ackup prerequisites
github-actions Bot
added a commit
that referenced
this pull request
Oct 30, 2026
New template: Logto 1.0.0 (5433)
…nt secret is empty
github-actions Bot
added a commit
that referenced
this pull request
Oct 30, 2026
New template: Logto 1.0.0 (5433)
…nce; CI checks for captcha, backup codes, password policy, suspension, custom JWT Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC
github-actions Bot
added a commit
that referenced
this pull request
Oct 31, 2026
New template: Logto 1.0.0 (5433)
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New template: Logto 1.0.0 (work item 5433), the open-source auth and identity platform (Logto OSS 1.45.0, MPL-2.0).
What it deploys
RELEASE-logto: 2 standard replicas serving sign-in pages, OIDC and the Management API (:3001). Interchangeable; all state is in PostgreSQL.RELEASE-logto-admin(default on): the public Admin Console on its own canonical URL (:3002). It does not serve until the admin account exists.postgres-highly-available2.8.1 (default) orpostgres3.4.1 (one flag).domainresources forcustomDomain.core/customDomain.adminConsole.dictionarysecret (username,password) and the DB credentialsdictionarysecret.Maintainer rulings built in
admin.secretNamesecret, through the Admin Console's own registration flow, so it gets exactly what a manual Console claim gets. Sign-up is then closed. The secret is read once.Testing (test-gvc-3, aws-us-west-2)
logto/tests/checks.yamlcover the public issuer, the public Admin Console, bootstrap sign-in with wrong-password and sign-up-refused controls, the headline OIDC code + PKCE flow with an app and user created through the Management API, exactly one admin, and the schema being current.PORT, which the platform sets to the first port, so both servers bound 3002 on the admin workload. Fix: pinPORT/ADMIN_PORT.Wizard
tw lint:ok logto 1.0.0: 0 errors, 0 warnings, 116/116 leaves coveredtw check-docs: fails only on forward links to the not-yet-written docs page (#admin-account,#access,#custom-domains,#database,#prerequisites).Before ship
🤖 Generated with Claude Code
https://claude.ai/code/session_01FZrfgWEQM4Kb8nMRmMPHEC