FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    Log in to post
    Load new posts
    • 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
      10
      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.

    • 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
      29
      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
      31
      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.

    • B

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

      Q&A
      • • • batmysta
      4
      0
      Votes
      4
      Posts
      65
      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.

    • 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
      57
      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
      103
      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.

    • R

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

      Q&A
      • • • rabah.laouadi
      3
      0
      Votes
      3
      Posts
      538
      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]
    • danD

      How can I pull the latest docker image

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

      danD

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

    • J

      Unsolved Redirect loop between login and consent page during OAuth2 authorization (Proof of Concept)

      Q&A
      • • • jefferson.piscos
      4
      0
      Votes
      4
      Posts
      314
      Views

      mark.robustelliM

      @jefferson-piscos, the debug enabled is under the OAuth tab. Go ahead and enable that and check the logs.

      Screenshot 2025-09-25 at 7.48.42 AM.png

      Also it is a little weird that you are redirected to a consent screen. Do you have any consents configured? You can go to Settings -> Consents in the Admin UI.

      Screenshot 2025-09-25 at 7.55.20 AM.png

      Then you can check the user and see if you have any set for the user you are testing.

      Screenshot 2025-09-25 at 7.55.29 AM.png

      Hopefully that will clear it up and you will be good to go. If not, let's see what those logs say.

    • M

      Issues with multi-tenant refresh token revocation and custom JWT signing

      General Discussion
      • • • michaelginn529
      2
      0
      Votes
      2
      Posts
      8.0k
      Views

      mark.robustelliM

      @michaelginn529 What do you have your "Logout behavior" set to for the application? Any other specific configuration you can share would help as well.

    • H

      Unsolved Proxy IP Issue

      Q&A
      • • • haziqt
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      mark.robustelliM

      @haziqt Sounds like FusionAuth is up and working except reporting the wrong IP address of the user on login. You may want to consider opening a issue.

    • E

      Is there away to provide error message data from a webhook via either Webhook or Event logs?

      General Discussion
      • • • edschlough
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      D

      @mark-robustelli said in Is there away to provide error message data from a webhook via either Webhook or Event logs?:

      @edschlough If you take a look at the example code from the webhook documentation, it shows how to return errors. Is this what you are after?

      Thank you so much

    • R

      Unsolved Issue with Getting Started guide, invalid client

      Q&A
      • • • raymondcamden
      5
      0
      Votes
      5
      Posts
      1.2k
      Views

      mark.robustelliM

      @raymondcamden Ha, gald you got it working. Generally, the quickstarts come with a docker file that you can just run docker compose against and it will get you the instance. That instance would be configured to work with the sample code for that quickstart. The application and uses would be created and things like that. If you have it working the way you want, awesome. If you run into other issues, please just let us know.

    • W

      Solved Implementing Phone Number Verification in FusionAuth Without Enabling 2FA

      Frequently Asked Questions (FAQ)
      • mfa • • wesley
      4
      1
      Votes
      4
      Posts
      2.4k
      Views

      danD

      Just an FYI, as of 1.59.0, phone number verification is now fully supported in FusionAuth.

      Read more here: https://fusionauth.io/docs/lifecycle/manage-users/verification/gate-accounts-until-user-phone-verified

    • danD

      Solved How to deal with sign-up spam?

      Q&A
      • • • dan
      6
      0
      Votes
      6
      Posts
      2.7k
      Views

      danD

      @atakan @theogravity-sb Seems like two different issues here.

      @theogravity-sb is talking about attackers using the Google identity provider to create accounts with malicious names. @atakan is talking about attackers using self-service registration to create accounts with malicious names. They seem related but not identical. When you are allowing people to create their own identity and/or delegate to another source of identity, you decrease friction but give up some control.

      The bad news is that FusionAuth has nothing out of the box to stop this behavior.

      The good news is that you can build an integration to stop it. There are email verification services that give you a risk factor for email addresses and you can check that before you allow for registration or login.

      Here's a blog post I wrote about leveraging a third-party service to check the validity of emails provided during registration. This post uses a self-service registration validation lambda, but for the Google identity provider use case, you could use the login validation lambda and perform the same type of check.

      While I used Fideo because it had a good API and I had a connection there, I have not done an extensive survey of the landscape of email verification services, so cannot recommend any particular service.

    • W

      Solved How to Monitor FusionAuth Cloud with Datadog (via Prometheus) and Track 2FA Drop-Off

      Frequently Asked Questions (FAQ)
      • mfa • • wesley
      2
      0
      Votes
      2
      Posts
      516
      Views

      W

      You cannot integrate Datadog directly into the cloud-hosted version of FusionAuth. The only relevant section in the documentation is "Use Datadog Agent on a Remote Host." This requires setting up Datadog to monitor FusionAuth using the Prometheus Metrics API endpoint. For monitoring failed 2FA rates, FusionAuth does not currently have built-in support. There is no webhook for failed MFA, but you can use the failed login webhook to monitor incorrect password attempts.

      Retrieve system metrics using Prometheus
      Use the Datadog Agent on a remote host
      User login failed webhook

    • A

      OAuth Complete Registration functionality breaks the authorization flow after upgrading to version 1.59.1

      Comments & Feedback
      • • • atabakov
      3
      0
      Votes
      3
      Posts
      756
      Views

      danD

      FYI, this was fixed in 1.60.0, per the release notes.

      In version 1.59.0 the password is now optional when creating or updating a user.

      When returning from a third-party login, a user may be prompted to complete registration by entering a password when self-service is enabled and is configured to require a password.

      This was unintended and has been corrected.

      https://fusionauth.io/docs/release-notes/

      Tracking issue: https://github.com/FusionAuth/fusionauth-issues/issues/3159

    • W

      Solved Configuring Proofpoint Cloud with FusionAuth SMTP

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

      W

      FusionAuth uses standard SMTP for all email connections. As long as Proofpoint Cloud supports a standard SMTP connection where FusionAuth sends transactional emails, initiates a handshake, and completes delivery, the integration will work. You can reference our documentation for details on configuring SMTP with common providers:

      Configure Email

    • W

      Solved Using Separate Applications in a Single Tenant for AD/Entra ID and Client Authentication

      Frequently Asked Questions (FAQ)
      • idp • • wesley
      2
      0
      Votes
      2
      Posts
      549
      Views

      W

      You can manage both flows within a single tenant. Typically, you’d configure separate applications, one for the Admin portal tied to your AD/Entra ID provider, and another for your client-facing site using FusionAuth. You can then use login hints or managed domains to direct users to the correct Identity Provider (IdP).

      Identity Provider Hints
      Managed Domains

    • E

      How to implement mutual TLS (mTLS) with FusionAuth — best practices and real-world solutions?

      General Discussion
      • • • ehallpassofficial
      3
      0
      Votes
      3
      Posts
      701
      Views

      V

      I see your point about using a proxy, but I’m not fully convinced it’s the best long-term solution.

      The problem with putting all the responsibility on the proxy is that it creates another layer of complexity and a single point of failure. If FusionAuth is going to support enterprise-level security use cases, shouldn’t mTLS be handled natively instead of relying on external workarounds?

      Upvoting the issue is fine, but depending on a proxy feels more like a patch than a real fix. Curious to hear if others think this approach is sustainable, or if we should be pushing harder for first-class support directly in FusionAuth.