| Cognito federation | Create the SAML or OIDC identity provider in Cognito, bind it to the app client, and keep provider secrets outside source control and Terraform state outputs. | Provider type, issuer/entity ID, metadata source, certificate expiry, and app client binding. | Disable the provider on the app client and return affected users to the accepted Cognito-only invite path. |
|---|
| Custom domain | Confirm the Cognito hosted auth domain or customer-facing auth subdomain, certificate, DNS ownership, and environment separation. | Domain, certificate status, DNS validation, environment, and owner approval. | Restore the previous hosted UI domain or remove the customer domain from the launch allowlist. |
|---|
| Callback and logout URLs | Allowlist exact callback and logout URLs for dev, staging, preview, and production before inviting customer users. | URL matrix covering login callback, logout return, app redirect, and blocked external redirect checks. | Revert Cognito app client callback/logout URLs to the last known good matrix. |
|---|
| Claims mapping | Map subject, email, display name, groups, workspace role, and billing admin claims into normalized workspace membership fields. | Claim table, sample redacted assertion or ID token, and validation result for every launch role. | Return unmapped users to read-only or disable SSO login until the role mapping is corrected. |
|---|
| Role assignment | Assign least-privilege workspace roles from IdP groups and require human approval for owner, admin, billing-admin, and agent roles. | Role mapping table, approver, backup admin, and emergency stop owner. | Remove the role mapping group or demote affected users to read-only while the customer owner reviews access. |
|---|
| Session security | Confirm MFA posture, token lifetime, session cookie settings, account recovery path, and audit events for login, logout, and role changes. | MFA decision, token/session lifetime, recovery owner, and audit smoke result. | Shorten session lifetime, revoke sessions, and pause invites until recovery and audit checks are healthy. |
|---|