1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MFA Login Flow

Posted at

Error Occurred: This error occurred when the flow tried to execute Apex class TOTPPlugin: Invalid shared key You can look up exceptions in the Apex Developer Guide.

TOTPPlugin accesses the Salesforce TOTP methods, generates a time-based secret key with a QR code, and validates the TOTP. The Apex class for TOTPPlugin is available in the login flow sample package.

The legacy Apex action has these input parameters.

OTP_INPUT–The TOTP token that the user provides.
OTP_REGISTRATION_INPUT–The TOTP token that the user provides when first registering.
SECRET_INPUT–The secret key used to generate the TOTP.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?