MARKETPLACE
PLUGINS
CRAZY TWO FACTOR - AUTHENTICATION
Crazy Two Factor - Authentication logo

Crazy Two Factor - Authentication

Published March 2024
   •    Updated November 2025

Plugin details

This plugin streamlines the implementation of Two-Factor Authentication (2FA) for your application users. It's a JavaScript library designed for generating and verifying One-Time Passwords (OTPs). The plugin is specifically compatible with popular authenticator apps such as:
- Google Authenticator
- Authy Authenticator
- Microsoft Authenticator

Key Features of the Plugin:

1. Enable 2FA for Your App Users:
  - Generates a QR code for adding the user's secret key to authenticator apps like Google Authenticator, Authy, and Microsoft Authenticator.

2. OTP Token Verification:
  - Provides functionality to verify OTP tokens within a 30-second timeframe, ensuring secure and timely authentication.

3. Server Token Validation:
  - Validates the OTP with the server token and returns the status of the 2FA verification process, enhancing security by confirming token legitimacy.

For additional assistance or inquiries, please feel free to contact the plugin's support team.

[Editor Link: https://bubble.io/page?type=page&name=2fa-enable&id=pdfwork&tab=tabs-1](https://bubble.io/page?type=page&name=2fa-enable&id=pdfwork&tab=tabs-1)

$100

One time

4.5 stars   •   2 ratings
8 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

Manikandan Arumugam logo
Manikandan Arumugam
Joined 2017   •   5 Plugins
View contributor profile

Instructions

To integrate this plugin into your Bubble app and enable Two-Factor Authentication (2FA), follow these steps:
1. Install the Plugin
            1. Navigate to your Bubble app's dashboard.
            2. Go to the "Plugins" tab.
            3. Search for the 2FA plugin and install it.

2. Update User Table Fields
            1. Access your Bubble app's database.
            2. Locate the user table.
            3. Create the following fields in the user table:
                   - secret (Text Data Type): Stores the secret key for generating the QR code.
                   - is-2fa-enabled (Boolean Data Type): Indicates if the current user has enabled 2FA.
                   - is-2fa-verified (Boolean Data Type): Updates this field once the token is verified. If false, prompt the user for the token again.

3. Implement 2FA Verification
            1. In your Bubble app, navigate to the pages where you want to implement 2FA verification.
            2. Add a workflow action to the page load event.
            3. Configure the action to verify 2FA using the plugin.
            4. Use the necessary plugin actions to:
               - Check if the current user has 2FA enabled.
               - Verify if the token is valid.
            5. Update the is-2fa-verified field based on the verification status.

4. Handle Token Verification
            1. If the is-2fa-verified field is false, prompt the user to enter the 2FA token.
            2. Use the plugin to validate the entered token against the stored secret and server token.
            3. If the verification is successful, update the is-2fa-verified field for the user.

By following these instructions, you can successfully integrate the 2FA plugin into your Bubble app and manage the necessary user fields for 2FA functionality.

NOTE:
This plugin doesn't support backup codes.
For more information refer forum Link :
[Forum Link: https://forum.bubble.io/t/new-plugin-release-crazy-two-factor-authentication/312054](https://forum.bubble.io/t/new-plugin-release-crazy-two-factor-authentication/312054)

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (4.5)

Saved a lot of time.
October 20th, 2025
Effective and affordable
June 1st, 2024
Plugin works as advertised. Even though instructions on the plugin page are minimal, there's a forum thread with more details (https://forum.bubble.io/t/new-plugin-release-crazy-two-factor-authentication/312054). Regardless, the plugin in and of itself is very straightforward and intuitive to implement. Separately, do bear in mind that your overall user authentication flow requires careful design to newly incorporate two-factor authentication in a truly secure manner. If your app requires this security feature, this plugin is certainly worthwhile--especially compared to Bubble's native feature, which requires a pricey plan. The plugin's action's performance is slow (several seconds) but still tolerable UX--both when generating initial key and QR code for configuration and when verifying user-entered code for authentication.
Bubble