FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Tracking MFA Adoption Metrics in FusionAuth Cloud

    Scheduled Pinned Locked Moved Solved
    Q&A
    1
    2
    900
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wesley
      last edited by

      Is there a way to retrieve user metrics from FusionAuth Cloud? Specifically, I’m looking for insights for our product team regarding MFA adoption, such as:

      • The number of users with a configured MFA method.
      • The number of new MFA setups per day.
      W 1 Reply Last reply Reply Quote 0
      • W
        wesley @wesley
        last edited by

        FusionAuth Cloud does not currently provide built-in analytics for MFA adoption. However, you can gather this data using the following approaches:

        1. Retrieve Users with MFA Enabled
        • Use the User Search API to retrieve all users for a specific application with MFA enabled.
        • Here’s a sample queryString to retrieve all the users with an MFA configuration field. It may be empty, so you should check after retrieving them: _exists_:twoFactor
        • Reference: Get All Users for an Application
        • You should be able to combine these two queries to get what you want.
        1. Track New MFA Setups Per Day
        • Set up a Webhook to listen for the user.two-factor.method.add event.
        • This event fires when a user adds a new two-factor authentication method.
        • Your backend can record these events daily for reporting purposes.
        • Webhook Guide: Writing a Webhook
        1 Reply Last reply Reply Quote 0
        • W wesley has marked this topic as solved on
        • First post
          Last post