mfaProviderAdd
Starts setting up a second factor for the signed-in person. Show the
provisioningUri as a QR code for the authentication app to scan, and the
secret for people who type it in. Then call mfaProviderConfirm with the
first code the app shows.
Business Rules
- Calling it again before confirming replaces the secret, so only the last QR code works.
Error Scenarios
- The person already has this provider set up.
Permissions Required
global:set_up_mfa, held by every person role.
mfaProviderAdd(
input: MFAProviderAddInput!
): MFAProviderAddPayload
Arguments
mfaProviderAdd.input ● MFAProviderAddInput! non-null input common
Parameters for MFAProviderAdd
Type
MFAProviderAddPayload object common
Autogenerated return type of MFAProviderAdd.