FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • F

      Interpreting FusionAuth's Prometheus metrics

      General Discussion
      • • • fabio.venturi
      2
      0
      Votes
      2
      Posts
      7
      Views

      mark.robustelliM

      @fabio-venturi I am not familiar with Prometheus, but I asked the AI on the FusionAuth site and it came back with.

      Database_primary_pool_Usage is a Prometheus metric exposed by FusionAuth which reports how much of the primary database connection pool is currently in use. It lets you see whether your HikariCP pool is close to exhaustion and is useful for capacity and health monitoring. [Monitor Prometheus]

      In the Prometheus UI you can graph it by entering Database_primary_pool_Usage in the expression box and executing the query. [Monitor Prometheus]

      It said it based the answer on the page you found, but I don't know enough to say for certain. Does this make sense to you?

    • J

      Unsolved fusion auth not changing the value of cookies named with account.at, account.rt after logout

      Q&A
      • • • jvadaliya
      4
      0
      Votes
      4
      Posts
      848
      Views

      mark.robustelliM

      @marcel-beutner If you have found a bug, you may want to report it using the FusionAuth Issues.

    • T

      Unsolved Unable to sort by fullName when formatted as "lastName, firstName"

      Q&A
      • • • tnguyen
      2
      0
      Votes
      2
      Posts
      23
      Views

      mark.robustelliM

      I just did a search on 1.61.0 in the Admin UI and my results were sortable by the name. Can you give us the exact query you used to use the search API and the search you used in the search bar? I am curious to see if that returns something different.

    • R

      Unsolved How can I configure session timeout on the admin panel?

      Q&A
      • • • rachel.flatt
      2
      0
      Votes
      2
      Posts
      20
      Views

      mark.robustelliM

      @rachel-flatt There are a couple of settings you can take a look at. If you go to Applications -> FusionAuth and look at the OAuth tab, you should see the Session timeout. Is this what you are looking for? The other is the Applications -> FusionAuth -> Edit -> JWT -> Refresh Token Settings -> Refresh Token duration. This is set to 60 minutes, for a 3600 second duration.

      I found this post that may help as well.

    • K

      NetworkError when attempting to fetch resource

      General Discussion
      • • • kiouplidis
      4
      0
      Votes
      4
      Posts
      12.7k
      Views

      T

      Hi there, I'm working on the same project. And since this forum post, the error did not occur again for about a month and has recently occurred 3 times in the last week.
      The instance is a fusionauth instance.
      (auth.*.ch is a CNAME (alias) for bnjmvfriojf0pzpzhtmmz6xf2sgl6b.durable.fusionauth.io)

      The access where the error occurs was via browser (firefox to be exact if sentry is to be believed).

      There are no recent changes to the CORS config.

      For most of our users this does not seem to be an issue. It happens very isolated for a handful of users.

    • M

      Node Version Compatibility

      General Discussion
      • • • max 0
      5
      0
      Votes
      5
      Posts
      2.5k
      Views

      J

      @Alex-Patterson said in Node Version Compatibility:

      @max-0 our SDK package.json can be found here https://github.com/FusionAuth/fusionauth-typescript-client/blob/master/package.json

      In reality, we don't impose any limitations on a client, if something doesn't work well with your setup you can always exit from the SDK strategy and call the API's directly.

      Thanks for the clarification! Good to know we can always call the APIs directly if needed.

    • E

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

      General Discussion
      • • • edschlough
      4
      0
      Votes
      4
      Posts
      1.8k
      Views

      S

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

      @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
      Wow! This is what I need, thank you for sharing

    • B

      Unsolved What is the verification key in a SAMLv2 IdP used for?

      Q&A
      • • • biwi
      5
      0
      Votes
      5
      Posts
      700
      Views

      B

      @mark-robustelli Well, here are some screenshots:

      at first I added a new IdP - via API POST /api/identity-provider - and the existing dummy/placeholder certificate is linked:
      7ee96348-07c1-4845-8a9a-26998572d0e0-image.png
      -> this is the only IdP

      then I import - via API POST /api/key/import - the correct certificate:
      ab51c6c5-1c2b-4939-a01d-2e045274400d-image.png

      but I do not link this in the IdP, and so do not set the Verification key

      Do I get it right, that the login should not work in that case? But I am able to login via this EntraID IdP.

    • danD

      Solved Claims to check when using google as an idp for google workspace

      Q&A
      • google idp workspace • • dan
      2
      0
      Votes
      2
      Posts
      445
      Views

      danD

      You should start by checking the relevant google documentation.

      As of writing, this is what their doc says:

      Using the email, email_verified and hd fields, you can determine if Google hosts and is authoritative for an email address. In the cases where Google is authoritative, the user is known to be the legitimate account owner, and you may skip password or other challenge methods.

      Cases where Google is authoritative:

      email has a @gmail.com suffix, this is a Gmail account. email_verified is true and hd is set, this is a Google Workspace account.

      Users may register for Google Accounts without using Gmail or Google Workspace. When email does not contain a @gmail.com suffix and hd is absent, Google is not authoritative and password or other challenge methods are recommended to verify the user. email_verified can also be true as Google initially verified the user when the Google account was created, however ownership of the third party email account may have since changed.

      So in this case, you want to check that hd is set as well as that email_verified is true.

      With FusionAuth, you can check this using a reconcile lambda and looking at the id_token:

      https://fusionauth.io/docs/extend/code/lambdas/google-reconcile https://fusionauth.io/docs/extend/code/lambdas/openid-connect-response-reconcile
    • danD

      Docs MCP server

      Release
      • • • dan
      1
      0
      Votes
      1
      Posts
      557
      Views

      No one has replied

    • V

      Currently using MojoAuth — thinking about switching to FusionAuth, looking for advice

      General Discussion
      • • • vijaysingh1784
      2
      0
      Votes
      2
      Posts
      224
      Views

      mark.robustelliM

      @vijaysingh1784 Looks like you have done a bit of research your self and made a pretty good analysis. I am not very familiar with MojoAuth, but just to confirm a few things:

      FusionAuth is very customizable. You should check out things like Lambdas, Webhooks and other various options.

      FusionAuth can be self-hosted or can be hosted for you.

      FusionAuth handles SAML, SCIM and other various integrations.

      FusionAuth is very scalable and gives you great control with api acess and other mechanisms.

      Depending on your needs, FusionAuth can be as easy to self host as spinning up a docker image to a full blown complex K8s deployment. It should fit your needs there.

      While there is no direct migration guide for the product you are talking about, there are several other migration guides for you to look over that should give you an idea on how to do it.

    • M

      How use mobile number for authentication

      Q&A
      • • • mehr.prs
      6
      0
      Votes
      6
      Posts
      7.7k
      Views

      danD

      Note that this functionality (logging in with a phone number) was delivered in 1.59.

      More details here: https://fusionauth.io/blog/announcing-fusionauth-1-59

    • M

      Unsolved We are getting ERROR org.primeframework.mvc.PrimeMVCRequestHandler - Error encountered

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

      mark.robustelliM

      @manoj-patil said in We are getting ERROR org.primeframework.mvc.PrimeMVCRequestHandler - Error encountered:

      t F ... 63 common frame

      Under what circumstances and you receiving this error?

    • M

      Unsolved All log

      Q&A
      • • • manoj.patil
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      M

      @mark-robustelli

      We used Lambda to get audit and event logs from DB and put in CloudWatch

    • danD

      FusionAuth MCP server

      Announcements
      • mcp feedback • • dan
      1
      0
      Votes
      1
      Posts
      716
      Views

      No one has replied

    • C

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

      Q&A
      • • • chad.hurd
      4
      0
      Votes
      4
      Posts
      984
      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
      411
      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
      725
      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
      1.1k
      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
      501
      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.