mfaProviderConfirm
Finishes setting up a second factor with the first code from the authentication app. From then on, signing in requires a code.
Business Rules
- Returns ten recovery codes, only once. Show them to the person to keep somewhere safe. Each one signs the person in once, for when they lose access to the app.
- The session that confirms counts as signed in with the second factor.
Error Scenarios
- The code is not valid.
- There is no setup in progress for this provider. Call
mfaProviderAddfirst.
Permissions Required
global:set_up_mfa, held by every person role.
mfaProviderConfirm(
input: MFAProviderConfirmInput!
): MFAProviderConfirmPayload
Arguments
mfaProviderConfirm.input ● MFAProviderConfirmInput! non-null input common
Parameters for MFAProviderConfirm
Type
MFAProviderConfirmPayload object common
Autogenerated return type of MFAProviderConfirm.