Repository navigation
feat(business-site): switch portal sign-in on, invite-only - #6389
Conversation
The maintainer chose to switch the portal on, invite-only (business-site#302). business-site-runtime's portal-settings now carries the five dependency keys: the portal database as portal_web over verified TLS, the customer Dex as issuer, and its business-portal client and callback. It also carries the production identity profile with portal-identity enabled. portal_web's password comes from OpenBao apps/business-site/portal-db, as for CNPG. No billing key is set, so orders and payments stay off, and access still needs an invitation. The web pods read the file only at startup. The change takes effect with the next business-site rollout, which also publishes the privacy notice's portal section (business-site#628). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai review |
Action not completed
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 9 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
✅
|
✅
|
Ready at
|

What
This switches the business-site portal's sign-in on, invite-only, through
business-site-runtime'sportal-settingsitem, the portal's on/off switch. The format is in business-sitedeploy/README.md→ "Portal settings and invitations".portal_web's password comes from OpenBaoapps/business-site/portal-db→web-password, the same source CNPG'sbusiness-site-portal-db-webreads. No billing key is set, so orders and payments stay off. Access still needs an invitation per customer: customers sign in through the customer Dex and ZITADEL's Customers organization, with a password plus MFA or GitHub.Why
The maintainer chose to switch the portal on, invite-only, to run monorepo#3939's real-provider sign-in, isolation and operator-path checks on the deployed revision (business-site#302).
Order and rollout
The web pods read this file only at startup, so the change reaches them with the next business-site rollout.
portal_web's grants. A pod that starts before then stays unready, and the old pods keep serving.From then on the public site's startup depends on the portal database and the customer Dex. A failed check keeps new pods unready, and the old ones serve.
The network is already in place:
business-site-portal-egresslets the web pods reach the database on 5432 andlogin.devantler.tech:443.To switch sign-in off: remove
PORTAL_IDENTITY_PROFILEandPORTAL_IDENTITY_FLAG(or every key) and roll the pods.Validation
ksail --config ksail.prod.yaml workload validate: 983 files validated.portal-settingsis exactly the seven keys plus one comment line, LF-terminated, with no surrounding whitespace. The password isurlquery-encoded; it is alphanumeric today.yamllintis clean.Part of devantler-tech/business-site#302.
🤖 Generated with Claude Code