# Registration and invitation

**Test family:** `REG`

- **REG-001** Create the smallest valid account and a fully populated account; verify persisted profile and initial entitlements.
- **REG-002** Duplicate and normalization-equivalent identity is handled atomically under concurrent attempts.
- **REG-003** Required terms/consent capture correct document version, timestamp, actor, and optional marketing separation.
- **REG-004** Verification/invitation link is single-purpose, bound to recipient/tenant, expires, resends, and resists replay.
- **REG-005** Expired, revoked, already-used, wrong-user, and wrong-tenant invitations recover safely.
- **REG-006** Inviter cannot grant a role beyond their authority; acceptance cannot alter hidden role/tenant parameters.
- **REG-007** Partial signup can resume or restart without duplicate accounts, orphaned identities, or lost verification.
- **REG-008** SSO and password signup collisions link only through verified, authorized flows.

## Comprehensive per-item coverage

- **REG-009** Exercise new, active, unverified, invited, suspended, locked, disabled, deleted, merged, and partially provisioned identities.
- **REG-010** Use identifiers containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, accents, mixed scripts, RTL, confusables, invisible characters, and boundary lengths.
- **REG-011** Compare absent, unknown, malformed, valid, expired, revoked, replayed, and wrong-tenant credentials or identifiers without account enumeration.
- **REG-012** Use UI, API, SSO, SCIM, invitation, import, admin, recovery, and migration paths; converge on one identity and policy model.
- **REG-013** Test exact duplicates, case variants, normalization equivalents, alias collisions, recycled identifiers, and concurrent creation atomically.
- **REG-014** Change username, email, phone, external subject, team, role, owner, and tenant; preserve links, history, authorization, and audit.
- **REG-015** Change role or account state between rendering, authentication, challenge, and commit; reauthorize the final operation.
- **REG-016** Attempt cross-user and cross-tenant lookup, suggestion, recovery, invite, export, cache, and error paths; reveal no hidden existence or data.
- **REG-017** Brute-force, credential-stuff, enumerate, resend, and lock accounts within a safe test envelope; balance abuse resistance and denial-of-service risk.
- **REG-018** Race login, logout, password reset, MFA reset, email change, suspension, deletion, and session refresh; define which security state wins.
- **REG-019** Retry after timeout and replay old links, codes, tokens, signed requests, and callbacks; enforce expiry, audience, nonce, and one-time use.
- **REG-020** Verify current and remembered sessions, trusted devices, refresh tokens, API tokens, and linked providers after each security-sensitive change.
- **REG-021** Force identity provider outage, delayed email/SMS, expired admin session, partial provisioning, and rollback failure; provide a recoverable state.
- **REG-022** Use keyboard, password managers, autofill, screen readers, zoom/reflow, translated errors, RTL, and mobile keyboards without weakening security.
- **REG-023** Inspect URL, referrer, DOM, storage, clipboard, logs, traces, analytics, support tools, notifications, exports, and screenshots for credential or PII leakage.
- **REG-024** Notify the right channels of sensitive changes without including secrets or actionable one-time credentials.
- **REG-025** Record actor, authority, target, old/new security state, request/trace ID, time, source, and outcome in tamper-resistant audit.
- **REG-026** Measure authentication, directory lookup, authorization, provisioning, and revocation latency at normal and supported load.
- **REG-027** Delete, anonymize, retain, restore, export, and merge identities according to legal and product policy without orphaning ownership.
- **REG-028** Test stale clients, clock skew, region failover, cache lag, and key rotation; fail closed for authorization while preserving recovery.

[Back to Authentication, people, and access index](../../auth-people-access.md)
