Security and Invitations
When To Use It
Use this flow when the UI manages MFA, security preferences, backup-code state, or invitation inbox actions.
Prerequisites
- valid JWT session
- valid
X-Client-Hash - Secure Channel for sensitive mutations
Call Sequence
- read security config and MFA state
- create Secure Channel for protected mutations
- enable or disable MFA methods as needed
- load invitation inbox separately from onboarding
Branch Decisions
- MFA already configured or not
- OTP setup or email method path
- invitation accept, decline, or defer
Common Failures
- mutation attempted without Secure Channel
- invitation inbox expected from onboarding payload
- wrong portal or session context
- stale
X-Client-Hash