← back to reference index

SchedHubPH

One login, every vertical — tenant branding loads by subdomain/slug at auth time.

← back to reference index

STATUS: interactive demo — behavior shown here is the intended contract (nothing is saved)
https://lcf.schedhubph.com/login

The Local Craft Food

Restaurant · ReserbaOS + BentaOS

Sign in

You'll land on the workspace that matches your account's role — no separate login per role (§5.1/D20):

Owner — full access Manager — operational Staff — day-to-day
Implementation notes for Cursor

Entities: Business (slug → name, logo_url), User + active Staff in that Business (§4, D33).

Key states: The slug in the host resolves the Business before this page renders; an unknown slug is a generic 404. Wrong password, unknown email and “no membership in this Business” all show the same “Invalid email or password.” Invited or deactivated members can't sign in. After sign-in you land on the dashboard for your role. The demo picker above stands in for the subdomain. If PLAN-069 finds wildcard subdomains unavailable, the same page is served at /{slug}/login.

Forbidden inventions: no business picker in the real app, no “account not found” message, no social sign-in, no cross-Business session switching.

SSO (D76): Off shows only the password form; Allowed adds “Sign in with SSO” above it; Required hides the password form and shows the Owner emergency sign-in link, and password sign-in/reset return 403 sso_required for everyone else. SSO refusals name the reason (not invited, domain not verified) because the person has already proved who they are at their IdP; an invalid response shows only a reference id. SSO sessions are never “stay signed in”.

Governs: §5.1, §5.1a, D20, D22, D33, D40, D76, PLAN-040/098/212/214.

SchedHubPH team member? Platform Console sign-in →