Authentication
Merchant identity, Website viewer sessions, and tenant isolation.
Authentication
Streamify separates merchants/team members from the viewers who use their Websites.
Merchants and teams
Merchant authentication uses Clerk. An Account is the merchant owner; a Website is the tenant business unit. A linked Clerk Organization supplies external team identity. Website permissions and resource ownership still apply after sign-in.
Website viewers
Viewers use a separate Website-scoped authentication system. Supported flows in the application include email/password, magic links, one-time codes and configured social providers. The methods visible on a Website depend on its settings and available provider credentials.
Viewer records and sessions are scoped to the Website. They use shared application tables with tenant isolation, rather than a separate physical database for each Website. A session for one Website does not authorize access to another Website's protected resources.
Sessions and protected content
Viewer authentication uses server-side session records and cookies; persisted session material is protected. Do not model this interface as a documented JWT/refresh-token API or assume a fixed revocation propagation deadline. Sign-out, expiry and resource authorization are checked by the application's session and access paths.
Authentication alone does not grant paid-content access. Published state, pricing/access rules, purchases and subscriptions determine access to protected content. Private content must not be treated as public merely because someone knows its URL.
Enterprise requirements
Discuss SSO, identity-provider compatibility and custom flows before making them part of a customer agreement. A plan name or configuration label does not prove SAML/OIDC support has been implemented and accepted for that customer's viewer journey.
For programmatic Website editing, use MCP access, which has its own scoped API keys.