user_auth. The SDK exchanges them for a user key that records the MFA, and signs the request with it.
The user must be enrolled in MFA first. See enrollment with server-side MFA.
Pass the MFA token in user_auth
Send the user an SMS code, then verify it to get an MFA token. TOTP and passkeys work the same way. See server-side MFA.This requires
The MFA token lasts for the cache duration. Pass the latest token on every request that may require MFA.
@privy-io/node version 0.39.0 or later.Examples
Each example shows a policy that requires MFA for the action, then the request with theauthorizationContext from above.

