FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • C

      Unsolved POST /api/user/import not triggering webhook `user.bulk.create'

      Q&A
      • • • chad.hurd
      4
      0
      Votes
      4
      Posts
      33
      Views

      mark.robustelliM

      @chad-hurd Awesome that you got if figured out. Do you mind sharing what, specifically, was wrong with the setup? It may help others down the road.

    • B

      Unsolved Account Portal - Is Federation to our Enterprise IDP possible?

      Q&A
      • • • batmysta
      4
      0
      Votes
      4
      Posts
      106
      Views

      mark.robustelliM

      @batmysta, Thanks for clearing that up. Unfortunately, there is no way I know of to configure federated authentication with the FusionAuth Account Portal.

    • R

      Solved How to get event.info.deviceDescription in events webhook (ex user.login.success)?

      Q&A
      • • • rabah.laouadi
      3
      0
      Votes
      3
      Posts
      551
      Views

      R

      @mark-robustelli Thanks for the anwser

      The solution is to add [@hidden name="metaData.device.description"/] the below line to it within Advanced Theme within the Helpers file under

      [#macro oauthHiddenFields] // here [@hidden name="metaData.device.description"/] ... [@hidden name="captcha_token"/] [@hidden name="client_id"/] [@hidden name="code_challenge"/] [@hidden name="code_challenge_method"/] [@hidden name="metaData.device.name"/] [@hidden name="metaData.device.type"/] [@hidden name="nonce"/] [@hidden name="oauth_context"/] [@hidden name="pendingIdPLinkId"/] [@hidden name="prompt"/] [@hidden name="redirect_uri"/] [@hidden name="response_mode"/] [@hidden name="response_type"/] [@hidden name="scope"/] [@hidden name="state"/] [@hidden name="tenantId"/] [@hidden name="timezone"/] [@hidden name="user_code"/] [/#macro]
    • W

      Solved How to Retrieve Last Login Dates for Multiple Users in FusionAuth via the Search API

      Frequently Asked Questions (FAQ)
      • api • • wesley
      2
      0
      Votes
      2
      Posts
      48
      Views

      W

      FusionAuth doesn’t support uploading a CSV to retrieve last-login timestamps. However, you can do this efficiently with the Search for Users API and return lastLoginInstant for many users at once.

      How to do it (batch via API)

      Use the User Search endpoint
      POST /api/user/search (set your X-FusionAuth-TenantId and Authorization headers).

      Send an Elasticsearch query using terms to match a batch of emails/usernames, and read lastLoginInstant from each returned user:

      { "search": { "query": "{\"terms\":{\"email\":[\"a@example.com\",\"b@example.com\",\"c@example.com\"]}}", "numberOfResults": 500, "startRow": 0 } } Swap email for username if that’s what you have. If your list is large, chunk it (e.g., 200–500 logins per request) and paginate with startRow / numberOfResults. (Optional) Filter by last-login date with a range query on lastLoginInstant: { "search": { "query": "{\"range\":{\"lastLoginInstant\":{\"gte\":\"2025-10-01T00:00:00Z\"}}}" } }

      You can also query by epoch millis if you prefer.

      Map results
      Each user object includes lastLoginInstant (epoch millis). Convert to your desired timezone/format in your script and write out a CSV.

      Tips

      If you need all users in a tenant (not just your list), you can search with a wildcard or a match-all query and page through results, then filter locally. For ongoing metrics, consider subscribing to user.login.success webhooks and recording last logins as they happen.

      Docs:

      Search for Users API (Elasticsearch): https://fusionauth.io/docs/apis/users#elasticsearch-search-engine
    • W

      Solved How to Fix 'could not find memberId' Errors When Removing Group Members in FusionAuth

      Frequently Asked Questions (FAQ)
      • api • • wesley
      2
      0
      Votes
      2
      Posts
      51
      Views

      W

      You can work around this by passing the IDs directly in your request. Here’s an example of how to structure the request correctly:

      from fusionauth.fusionauth_client import FusionAuthClient api_key = 'your-fusionauth-api-key' base_url = 'https://your-fusionauth-instance.com' group_id = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' user_ids_to_remove = [ 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy', 'zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz' ] client = FusionAuthClient(api_key, base_url) member_delete_request = {'members': {group_id: user_ids_to_remove}} response = client.delete_group_members(member_delete_request) if response.was_successful(): print("Successfully removed users from group!") else: print(f"Error: {response.error_response}")

      This approach correctly formats the request for the API to process and delete the specified users from the group.

    • W

      Solved How to Fix Missing End-of-Month Data in FusionAuth Daily Active Users and Registrations

      Frequently Asked Questions (FAQ)
      • data • • wesley
      2
      0
      Votes
      2
      Posts
      73
      Views

      W

      This issue was addressed in version 1.56.0. Make sure your FusionAuth instance is updated to the latest version, as several reporting-related fixes have been released that resolve this specific problem.

    • M

      Unsolved All log

      Q&A
      • • • manoj.patil
      2
      0
      Votes
      2
      Posts
      120
      Views

      mark.robustelliM

      @manoj-patil Have you checked out the documentation on this? Is there something missing. I imagine that if you want all network traffic, you would have to configure that separately than the logs you get from FusionAuth activity since that would be at the networking level.

    • danD

      How can I pull the latest docker image

      Q&A
      • docker docker-compose update image • • dan
      5
      0
      Votes
      5
      Posts
      18.7k
      Views

      danD

      See more details here: https://fusionauth.io/docs/get-started/download-and-install/docker#docker-tags