Skip to main content
Audience: QA, developers, and operators validating the multi-tenant identity system. Use this checklist before deploying to staging or production. Staging behavior may differ (e.g. different domains, CORS, SAML config).

Overview

This document provides an exhaustive list of scenarios and edge cases to test for the multi-tenant setup. It complements the Multi-Tenant Identity & SSO architecture guide.

1. Domain Selection & lastTenant Persistence


2. Login & Registration


3. Logout & Cross-Tenant Auth


4. Session & Token Behavior


5. www vs Tenant Subdomain


6. Landing & Public Pages


7. Tenant Selector (Login/Register)


8. Staging-Specific


9. Edge Cases & Errors


10. SAML / SSO (if applicable)


Quick Reference: Staging Checklist

Use this as a quick pass/fail checklist before deployment:

Multi-tenant identity & SSO

Architecture this checklist validates: global users, memberships, cookies.

Authentication overview

Login methods and token behavior referenced in login and session scenarios.

Session management

Refresh, revocation, and multi-device rules to exercise while testing.

SAML

IdP configuration and SAML-specific expectations for section 10.

Testing

Automated route tests and CI commands that complement manual staging passes.

Deployment

Staging vs production domains, TLS, and cookie behavior called out in section 8.