Login + Navigation + Cross-Site SSO · drafted 08 October 2026 (Thursday, UTC). The operator asked: "We need to figure out what triggers the opening of this client page. Is it by clicking login on the WordPress (Buddy) and/or the main orb-business.com site?" The page in question is the Member Communications Mini-Page (per the prior iteration). This spec captures the trigger flow, the three real options, the recommended pattern, the cross-site SSO, and the navigation logic.
What this page is. The Member Communications Mini-Page's trigger flow is captured on the durable record. The page is the per-member-facing surface (per the prior iteration's spec). The trigger flow names: where the member logs in; what they see after login; how cross-site SSO works; how navigation between orb-business.com and orb-commons.com works. Three real options are surfaced; the agent recommends Option C (unified login via JWT SSO).
Operator context (named 08 October 2026)
"We need to figure out what triggers the opening of this client page. Is it by clicking login on the WordPress (Buddy) and/or the main orb-business.com site?"
The question. The "client page" in question is the Member Communications Mini-Page (per the prior iteration's spec). The operator is asking: where does the member log in to access this page? Is it on orb-commons.com (the BuddyPress site) or on orb-business.com (the main site) or both?
1. The architecture context (per the durable record)
Per the Cross-Site Architecture page and the BuddyPress Profile Template page, the operation's two-site architecture is:
orb-business.com — the main site (WordPress + WooCommerce + AffiliateWP Pro + Orb-Wallet + per-vertical sites + checkout).
orb-commons.com — the member-management site (WordPress + BuddyPress + member profiles + per-project portals + per-member landing pages).
Cross-site integration via the AffiliateWP Pro REST API + JWT SSO (per the Cross-Site Architecture page; per the BuddyPress Profile Template page Section 7).
The Member Communications Mini-Page lives on orb-business.com (the main site) because the page's data sources (WooCommerce orders; Orb Credits ledger; charity allocations; messages; project participation) are all on orb-business.com. The page is a per-member-facing surface that's part of the member-account on orb-business.com.
2. The three real options for the trigger flow
2.1 Option A — Login on orb-business.com (unified login on the main site)
The flow:
Member lands on orb-business.com (any page).
Member clicks the "Login" or "My Account" button in the header.
Member enters credentials on the WordPress + WooCommerce login form (on orb-business.com).
After successful login, the member lands on the member-account page on orb-business.com (the WordPress + WooCommerce "My Account" page).
The member-account page has a navigation menu with links to:
The Member Communications Mini-Page (the per-member-facing surface).
The BuddyPress profile (on orb-commons.com; cross-site via JWT SSO — member is already logged in via SSO).
The per-project portal (on orb-commons.com).
The per-member landing page (on orb-business.com).
Member clicks "My Activity" (or whatever the Member Communications Mini-Page is named) → lands on the page.
Pros:
Single login on the main site; the member's first-touch experience is unified.
The member lands on the main site (where most of the action happens — checkout; per-vertical sites; etc.).
WooCommerce's built-in "My Account" page provides the navigation surface.
Cross-site SSO is automatic (the member is already logged in on orb-business.com; JWT SSO propagates to orb-commons.com when the member clicks a link).
Cons:
The member must be on orb-business.com to log in; if they land on orb-commons.com first, they need to navigate to orb-business.com.
The Member Communications Mini-Page lives on orb-business.com; the BuddyPress profile lives on orb-commons.com; the member navigates between the two sites.
When this is the right choice: The member's first-touch is the main site (orb-business.com); the main site is where most of the action happens.
2.2 Option B — Login on orb-commons.com (BuddyPress-native login)
The flow:
Member lands on orb-commons.com (the BuddyPress site).
Member clicks the "Login" or "Sign In" button in the header.
Member enters credentials on the BuddyPress login form (on orb-commons.com).
After successful login, the member lands on the BuddyPress profile page on orb-commons.com.
The BuddyPress profile page has a navigation menu with links to:
The Member Communications Mini-Page (on orb-business.com; cross-site via JWT SSO — member is already logged in on orb-commons.com; SSO propagates to orb-business.com when the member clicks a link).
The per-project portal (on orb-commons.com).
The per-member landing page (on orb-business.com).
The BuddyPress profile settings (display name; avatar; xprofile fields; etc.).
Member clicks "My Activity" (or whatever the Member Communications Mini-Page is named) → lands on the page on orb-business.com.
Pros:
BuddyPress-native; the member's profile is the central surface.
The member lands on the BuddyPress profile (the canonical member surface).
Cross-site SSO is automatic (the member is already logged in on orb-commons.com; JWT SSO propagates to orb-business.com).
Cons:
The member must be on orb-commons.com to log in; if they land on orb-business.com first, they need to navigate to orb-commons.com.
The Member Communications Mini-Page lives on orb-business.com; the member navigates between the two sites.
Less first-touch friendly for new members (they land on the BuddyPress site, not the main site).
When this is the right choice: The member's first-touch is the BuddyPress site (orb-commons.com); the BuddyPress site is where most of the member-management action happens.
2.3 Option C — Unified login via JWT SSO (the recommended pattern)
The flow:
Member lands on either orb-business.com OR orb-commons.com (whichever they come to first).
Member clicks the "Login" or "Sign In" button in the header.
Member is redirected to a unified login service (a single login page that both sites share; the login service is on the canonical site — orb-business.com or orb-commons.com).
Member enters credentials on the unified login form.
After successful login, JWT tokens are generated and stored on both sites (via the JWT SSO mechanism).
Member is redirected back to the site they came from (orb-business.com or orb-commons.com).
The member lands on the appropriate landing page (the member-account page on orb-business.com; the BuddyPress profile on orb-commons.com).
Cross-site navigation is automatic (the JWT tokens are validated on both sites; the member is logged in on both).
Member clicks "My Activity" (or whatever the Member Communications Mini-Page is named) → lands on the page.
Pros:
Single sign-on across both sites; the member logs in once, is logged in everywhere.
The member's first-touch is whichever site they came to first; the unified login is on the canonical site.
Cross-site navigation is automatic; the member doesn't have to log in twice.
The most user-friendly pattern; the operation already has JWT SSO between the two sites (per the Cross-Site Architecture page).
Cons:
More wiring (the unified login service; the JWT SSO mechanism; the cross-site token storage).
The member's credentials are stored on the canonical site; the other site validates the JWT token.
When this is the right choice: The member's experience is unified; the member moves between orb-business.com and orb-commons.com seamlessly; the operation has JWT SSO already configured.
The agent's recommendation. Option C (Unified login via JWT SSO) is the canonical pattern for this operation. The operation already has JWT SSO between orb-business.com and orb-commons.com (per the Cross-Site Architecture page). Unified login is the load-bearing piece for the member's experience. The wiring is more involved but the user experience is significantly better. The operator validates the choice.
3. The recommended flow (Option C — Unified login via JWT SSO)
3.1 The member's first visit (no prior session)
Member lands on orb-business.com (or orb-commons.com; whichever they came to first).
Member clicks the "Login" or "Sign In" button in the header.
Member is redirected to the unified login service: https://login.orb-business.com (or the operator's chosen URL).
Member enters credentials (email + password; or social login; or magic link).
After successful login, the unified login service:
Generates a JWT token with the member's ID + expiration + scope.
Stores the JWT token in an HTTP-only cookie on the .orb-business.com domain (so the cookie is shared across subdomains).
Redirects the member back to the site they came from.
Member lands on the appropriate landing page:
If they came from orb-business.com: the member-account page (WordPress + WooCommerce "My Account" page).
If they came from orb-commons.com: the BuddyPress profile page.
The member sees the navigation menu (with links to all member-facing surfaces).
Member clicks "My Activity" (or whatever the Member Communications Mini-Page is named) → lands on the page.
3.2 The member's return visit (existing session)
Member lands on orb-business.com (or orb-commons.com).
The JWT cookie is automatically included in the request; the unified login service validates the cookie; the member is logged in.
Member lands on the appropriate landing page (member-account page on orb-business.com; BuddyPress profile on orb-commons.com).
Member clicks "My Activity" → lands on the page.
3.3 The member's cross-site navigation
Member is on orb-business.com (e.g., on the Member Communications Mini-Page).
Member clicks a link to orb-commons.com (e.g., to view their BuddyPress profile).
The JWT cookie is automatically included in the request; orb-commons.com validates the cookie via the unified login service's API; the member is logged in on orb-commons.com.
Member lands on the BuddyPress profile page on orb-commons.com.
Member clicks a link to orb-business.com (e.g., to view their orders) → automatic cross-site navigation; member is logged in on orb-business.com.
4. The unified login service's load-bearing pieces
The unified login service has the following load-bearing pieces:
Single login page. A single login page that both sites share; the login page is on the canonical site (orb-business.com or orb-commons.com).
JWT token generation. The unified login service generates JWT tokens with the member's ID + expiration + scope.
HTTP-only cookie storage. The JWT token is stored in an HTTP-only cookie on the shared domain (e.g., .orb-business.com) so the cookie is shared across subdomains.
Cross-site validation API. The unified login service exposes a cross-site validation API; the other site (orb-commons.com) calls the API to validate the JWT token when the member lands on it.
Token expiration + rotation. JWT tokens expire (per the operator's policy; e.g., 24 hours; 7 days; 30 days); tokens are rotated periodically (per the operator's policy; e.g., on every login; on every page load; etc.).
Logout flow. The member can log out from either site; the logout clears the JWT cookie on both sites; the member is logged out everywhere.
Password reset flow. The member can reset their password from either site; the password reset is processed by the unified login service; the new password is propagated to both sites.
Social login. The member can log in via social (Google; Facebook; Apple; etc.); the social login is processed by the unified login service; the JWT token is generated.
Magic link login. The member can log in via a magic link (sent to their email); the magic link is processed by the unified login service; the JWT token is generated.
5. The navigation logic
After the member logs in (via the unified login service), the member lands on the appropriate landing page based on which site they came from. The navigation logic:
If the member came from orb-business.com: land on the member-account page (WordPress + WooCommerce "My Account" page). The page has a navigation menu with links to:
The Member Communications Mini-Page (the per-member-facing surface).
The BuddyPress profile (on orb-commons.com; cross-site via JWT SSO).
The per-project portal (on orb-commons.com).
The per-member landing page (on orb-business.com).
If the member came from orb-commons.com: land on the BuddyPress profile page. The page has a navigation menu with links to:
The Member Communications Mini-Page (on orb-business.com; cross-site via JWT SSO).
The per-project portal (on orb-commons.com).
The per-member landing page (on orb-business.com).
The BuddyPress profile settings (display name; avatar; xprofile fields; etc.).
Logout.
The navigation menu is the load-bearing piece for the cross-site experience. The menu is consistent across both sites; the menu links are contextually appropriate (the member doesn't see irrelevant links).
6. The trigger flow's connection to existing surfaces
The trigger flow is connected to existing surfaces on the durable record:
Cross-Site Architecture — Two Sites — the two-site architecture is the foundation; the trigger flow is the implementation. Cross-Site Architecture — Two Sites.
BuddyPress Profile Template (ORB) — the BuddyPress profile is one of the landing pages; the trigger flow includes the BuddyPress profile. BuddyPress Profile Template (ORB).
Master Dashboard Vision Spec — the master dashboard's analytics layer is the data source for the Member Communications Mini-Page's per-member activity charts. Master Dashboard Vision Spec.
Cosmic-Commons Components Library Spec — the unified login service is a component in the library; the per-component entry pattern is the structural surface. Cosmic-Commons Components Library Spec.
7. The operator's customization decisions (TBD)
Per the operator's pattern of discretion, the customization decisions are operator-curated:
Login page URL. The operator names the login page URL (e.g., https://login.orb-business.com; https://orb-business.com/login; https://orb-commons.com/login).
Login methods. Email + password (default); social login (Google; Facebook; Apple); magic link; 2FA; etc. The operator decides which methods to support.
JWT token expiration. 24 hours; 7 days; 30 days; etc. The operator decides the expiration policy.
JWT token rotation. On every login; on every page load; on a schedule; etc. The operator decides the rotation policy.
Cookie domain. The operator names the cookie domain (e.g., .orb-business.com; .orb-commons.com; a custom domain).
Landing page defaults. The operator names which site is the default landing page (orb-business.com; orb-commons.com; or context-dependent).
Member Communications Mini-Page naming. The operator names the page (per the prior iteration).
Per-role visibility. The trigger flow respects the per-role visibility matrix (per the Chief Architect Dashboard Section I).
8. Status
What is in place today (08 October 2026):
The Member Page Trigger Flow Spec page is on the durable record at /member-page-trigger-flow-spec.
The architecture context is named: orb-business.com is the main site; orb-commons.com is the member-management site; cross-site integration via JWT SSO is already configured.
Three real options are surfaced: Option A (login on orb-business.com); Option B (login on orb-commons.com); Option C (unified login via JWT SSO — the recommended pattern).
The recommended flow (Option C) is captured: the unified login service; the JWT token generation; the HTTP-only cookie storage; the cross-site validation API; the token expiration + rotation; the logout flow; the password reset flow; the social login; the magic link login.
The navigation logic is named: the member-account page on orb-business.com; the BuddyPress profile on orb-commons.com; the cross-site navigation menu.
The connection to existing surfaces is named.
The operator's customization decisions are TBD.
What is NOT in place today:
The actual unified login service implementation. Operator-curated; future-session work.
The JWT SSO wiring between orb-business.com and orb-commons.com. Operator-side; future-session work.
The navigation menu wiring on both sites. Operator-side; future-session work.
The operator's customization decisions. Future-session work.
The Member Communications Mini-Page's actual page implementation (still TBD; per the prior iteration).
Member Page Trigger Flow Spec · drafted 08 October 2026 (Thursday, UTC) · login + navigation + cross-site SSO · three real options · recommended: Option C (unified login via JWT SSO) · navigation logic · connection to existing surfaces · operator's customization decisions TBD · BLESS and PROTECT this Project.
9. Operator confirmation — Option C (added 08 October 2026)
Operator confirmation (08 October 2026): "I agree. Option C."
Operator confirms Option C (Unified login via JWT SSO) as the canonical pattern for the trigger flow. The unified login service is the load-bearing piece for the Member Communications Mini-Page's trigger flow. The operation already has JWT SSO between orb-business.com and orb-commons.com (per the Cross-Site Architecture page); unified login extends the existing JWT SSO to a single login service for the member's first-touch experience.
What this means for the durable record:
The trigger flow is locked-in. The unified login service generates JWT tokens; the tokens are stored in HTTP-only cookies on the shared domain; cross-site navigation is automatic. The Member Communications Mini-Page opens after the member logs in via the unified login service.
The unified login service is a new component. The component will be captured as a per-component entry in the Cosmic-Commons Components Library Spec (per the prior iteration's library spec). The component's per-component entry pattern: name; type; functionality summary; integration path; operator's customization decisions; status; cross-references.
The wiring is operator-side. The unified login service's implementation is operator-side; future sessions wire it. The agent captures the spec; the operator wires the implementation.
The operator's customization decisions are TBD. The operator's decisions (login page URL; login methods; token expiration; token rotation; cookie domain; landing page defaults) are captured on the prior page; future sessions name them.
The next concrete work:
The unified login service's per-component entry on the Cosmic-Commons Components Library Spec. Future-session item.
The unified login service's actual implementation (the login page; the JWT token generation; the cookie storage; the cross-site validation API). Future-session item.
The JWT SSO wiring between orb-business.com and orb-commons.com (per the existing JWT SSO configuration). Future-session item.
The navigation menu wiring on both sites (the cross-site navigation menu; the context-dependent landing pages). Future-session item.
The Member Communications Mini-Page's actual page implementation (per the prior iteration's spec). Future-session item.