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

    What is considered "activity" for the daily and monthly active user reports?

    Scheduled Pinned Locked Moved
    Q&A
    users active users reporting
    0
    2
    3.8k
    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.
    • danD
      dan
      last edited by

      I see you have daily and monthly active user reports. What does it mean for a user to be 'active'?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        There are two types of activity that are consolidated in this report. A user is 'active' if either of these holds true for the user during the time period in question.

        The first is on token/JWT refreshes. There are two ways to trigger an activity event.

        The first is a POST to /oauth2/token to retrieve a token (either with an auth code, a refresh token, or any other way to get a token). The second is a POST to /api/jwt/refresh, which presents a refresh token for a new access token using the FusionAuth non standard API.

        The second is on "login" events:

        Login events are triggered in a number of ways:

        • an IdP login request (performed via a POST to /api/identity-provider/login
        • user creation
        • user registration to an application
        • through a login performed via a POST to /api/login or a PUT to /api/login
        • and finally through other forms of login that don't quite fall in those flows above. These include: passwordless, one time password and 2FA.

        Basically, if a user logs in or has a token generated for them, they are considered active during the timeframe.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post