Portal setup
- Navigate to Authenticators in the Authsignal Portal, find authenticator app, and click Set up.
- Activate the authenticator in the next screen.
SDK setup
Server SDK
Initialize the SDK using your secret key from the API keys page and the API URL for your region.Client SDK
Initialize the Web SDK or Mobile SDK using your tenant ID from the API keys page and your API URL.Adaptive MFA
The following steps demonstrate how to implement adaptive MFA with authenticator app - either at sign-in or as step-up authentication when the user performs a sensitive action in your app (e.g. making a payment).1. Track action
Use a Server SDK to track an action in your backend. This step can apply rules to determine if a challenge is required.- Custom UI
- Pre-built UI
signIn
or createPayment
).
Each action can have its own set of rules.
To learn more about using rules and handling different action states refer to our documentation on actions and rules.
2. Present challenge
If the action state isCHALLENGE_REQUIRED
then you can present an authenticator app challenge using the Web SDK or Mobile SDK.
- Custom UI
- Pre-built UI
3. Validate action
Use the new token obtained from the client SDK to validate the action on your backend.Enrollment
The following steps demonstrate how to let users enroll an authenticator app by scanning a QR code.1. Track action
Use a Server SDK to track an action in your backend.- Custom UI
- Pre-built UI
If the user is already enrolled with another authentication method, you will need to pass additional scopes when tracking this action - refer to our documentation on authenticator binding for more information.
2. Present QR code
Use the Web SDK or Mobile SDK to present a QR code which the user can scan with their authenticator app.- Custom UI
- Pre-built UI
Next steps
- Pre-built UI - Rapidly deploy authenticator app challenges using our pre-built UI
- Web SDK - Implement authenticator app challenges while building your own UI
- Mobile SDK - Implement authenticator app challenges in native mobile apps
- Adaptive MFA - Set up smart rules to trigger authentication based on risk
- Passkeys - Offer the most secure and user-friendly passwordless authentication