# TIB Secured Tenant Onboarding — Corrected Sequence
Version 1.2 • November 14, 2026

## 1. Apply And Establish Authority
Save one application or amendment with the exact app identity/origin/callback, requested services, audience, representative authorization and active personal/business profiles. Upload ownership, signed authorization, privacy, integration/security implementation plan, retention and logo evidence as applicable. An initial request no longer needs completed runtime acceptance tests before TIB can provision the integration environment. Production still requires all security and acceptance evidence.

## 2. TIB Prepares Integration Assets
A passkey-verified reviewer opens the protected review queue and records a preliminary authority/configuration review reference. Select **Prepare Integration Assets**. This action can run on a saved draft or request before final security approval. Pilot submissions must first be bound to the verified owner profiles.

TIB issues:
- A seven-day, app/configuration-bound **integration-only** server credential and three synthetic test subjects.
- Session, activity and preference endpoints for the isolated integration environment.
- The integration server adapter and existing browser contract.
- TIB-issued general reporting link and a separate minor-safety link for minor/mixed audiences.
- The official **Sign In With TIB Secured** button assets.

Reporting links are an output of this successful provisioning step. They are not an applicant-created prerequisite. Existing previously issued links remain valid. Merely reading or saving a new draft no longer issues links.

Preparation is not production approval, a certification, member data access, a payment authorization or expanded SSO permission. Setup credentials are encrypted under TIB custody, have a distinct credential format and are rejected by production runtime APIs. They cannot link real members, access wallets/documents or write member/business activity ledgers.

The owner can select **Download Issued Integration Assets** in the application. Reviewers can prepare again to retrieve the same current package. **Renew Integration Assets** explicitly replaces a stale/expired/revoked package; old credentials stop working. **Revoke Integration Assets** stops only the integration credential, preserving existing production SSO.

## 3. App Integrates And Uploads Evidence
Install the issued setup adapter in the app backend; keep credentials in its secret manager. Use only the issued synthetic subjects. Verify preference synchronization, idle expiry, two-minute warning, actual activity, background non-extension, logout/revocation, expired-session restart rejection, event deduplication and synthetic subject isolation. Publish the reporting links and restyle the EXISTING approved SSO trigger with the issued button. Preserve its current callback, state/PKCE, subject proof and click handler.

Integration endpoints:
- POST /api/tenant-setup/session — start/check/activity/logout, with subject and server-held random sessionId.
- POST /api/tenant-setup/preferences — issued synthetic subject and idleMinutes in 0, 5, 10, 15, 20, 25, 30. Zero retains the existing 30-minute maximum.
- POST /api/tenant-setup/activity — synthetic sign_in/sign_out/wallet_transaction with stable eventId and occurredAt; no real member ledger is written.

The setup adapter exports createTIBTenantSetupAdapter with the same start/check/activity/logout/report methods plus setPreference. Its credential is never accepted as a production runtime credential. The final production package uses createTIBTenantAdapter and production endpoints instead.

Upload results against the actual consumer release. Acceptance uploads are permitted while a signed-in application is in draft, changes_requested, priority_review or verification_review. Approved evidence remains locked. The integration environment supplies dependencies; it never marks an app's tests passed or replaces live production acceptance.

## 4. Review And Finalize Production
The reviewer verifies all 14 implementation/security controls, current evidence, tested release/origin/scope binding, profiles, reporting publication and zero unresolved critical/high findings. Production key issuance and activation remain blocked until that review passes.

**Finalize Setup** then issues/reuses the application-bound production key/runtime assets, runs configuration/readiness checks and activates only accepted SSO capabilities. Production Setup Assets include the same official button metadata and issued reporting links. Existing member consent is never silently expanded. Wallet, payment, banking, scheduling, profile-update and plan publication dependencies remain capability-specific.

## 5. Record Live Acceptance Separately
Record the actual receiving-app sign-in/return, central preferences, timeout/revocation, consent and activity results. Synthetic setup results must never be represented as a successful production login or transaction. New production credentials and member grants remain protected; the app is not declared fully live merely because a setup package was issued.

## USA
USA's reported local ten-minute timeout, two-minute warning and 107 local tests are prior consumer work. Missing TIB credentials/reporting/button assets are TIB provisioning responsibilities. USA installs those issued dependencies, completes central integration and supplies remaining security/acceptance evidence. This workflow release does not submit, approve or upgrade USA's individual application automatically.

## Locked Boundaries
No changes to existing member sign-in, signup, recovery, callback, PKCE, token exchange, active grants or production payment flows. No live member credentials, reporting-link records or application keys were issued while implementing this workflow. Verification used local synthetic fixtures only; background authentication testing remains paused.

