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
    • F

      Unsolved Duplicating an application held in 'Tenant1' to 'Tenant2' stays in 'Tenant1'

      Q&A
      • • • francis.ducharme 0
      7
      0
      Votes
      7
      Posts
      1.1k
      Views

      mark.robustelliM

      @francis-ducharme-0 You may have to parse the json returned from the get and modify a few things. Does the application get created but not work or does the application not get created? I would think you would need to take the relevant parts from the returned application then create the application under a new tenant? Remember you will have to use the new TenantId in the Request Header. If you are not supplying the TenantId, it will use the default.

      On a side note: If you are still interested in a duplicate application across tenant feature in the API, you might want to put a request in.

    • E

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

      General Discussion
      • • • ehallpassofficial
      3
      0
      Votes
      3
      Posts
      74
      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.

    • D

      Unsolved Generic Connector, OAuth2.0

      Q&A
      • • • d.chinguun.0301
      3
      0
      Votes
      3
      Posts
      28
      Views

      D

      @mark-robustelli thank you. I forgot to mention that I am already consuming FusionAuth events using webhooks, but there is no application ID in the event body. but it is okay i will manage it anyway

    • M

      Migrate users with a salted hash passwords?

      General Discussion
      • • • michaelgaffney278
      3
      0
      Votes
      3
      Posts
      591
      Views

      M

      Thanks for your answer. I got it.

    • D

      How to track user online/offline/idle times in real-time dashboard & reports using Kafka events from auth server

      General Discussion
      • • • d.chinguun.0301
      3
      0
      Votes
      3
      Posts
      8.2k
      Views

      D

      @mark-robustelli Thanks for your reply, Mark. If I manage to make it, I’d love to show you how I made it and what it looks like.

    • 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
      39
      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

    • danD

      Solved Non-Existent or Intermittent Internet Access When Using FusionAuth

      Q&A
      • disconnected • • dan
      2
      0
      Votes
      2
      Posts
      238
      Views

      danD

      Yes.

      A few options. Let's assume you have a FusionAuth instance hosted in your cloud (the cloud instance) and that you'll be running an instance on the cruise ship (the cruise ship instance). The cloud instance contains all user data. The cruise ship instance is going to be set up fresh for each cruise, with a copy of data from the cloud instance. It'll contain just the users on the cruise ship, and applications on the cruise ship will be set up to authenticate against it.

      Overview Table Option Use When Notes Works With FusionAuth Cloud Use The Cloud Instance You have connectivity. Included for completeness. Yes Cruise Ship FusionAuth With QR Codes You only want to let the user modify their profile, are okay with the risk of the QR code being stolen and the user being impersonated. Need to use the API/SDKs to fully implement. Yes Cruise Ship FusionAuth With Existing Passwords You want the cruise ship instance to be the source of truth for users on the ship. No Cruise Ship FusionAuth With Existing Passwords And Changes Allowed to Cloud FusionAuth If accounts of cruise ship users need to be modifiable by people on the cruise ship and on land. Requires careful profile and credential merge logic. No Use The Cloud Instance

      Use the cloud FusionAuth instance for all requests. This is the simplest solution, though it may be costly or lead to degraded functionality.

      This is mentioned for completeness, but doesn't really address the core issue of missing or intermittent internet connectivity.

      Cruise Ship FusionAuth With QR Codes

      Here you are migrating the source of truth for these users to the cruise ship instance, excluding passwords, and then syncing the profile data back.

      The main reason to choose this option is because it works with a FusionAuth Cloud hosted cloud instance, where you do not have access to the password hashes.

      Steps: Copy user profile data to the cruise ship instance using the User API. Create a QR code that is associated with each user and add it to the ticket (or provide it separately). The user can then log in by scanning their phone. The QR code should include the user's login Id. Implement using the passwordless API, starting the passwordless login with the users id, and completing the login by catching the code and using the complete login API call. Mark the accounts as 'on-cruise' in the user.data field. By doing this, you can clearly differentiate between the users on the cruise and anyone else in your CIAM system. This makes it easier to merge their profile data after the cruise. Set up a webhook to disable any updates to these user accounts in the cloud FusionAuth instance while on the cruise. You can do this by setting up a transactional webhook on user.update that fails when the user being updated has the 'on-cruise' attribute set. When on the ship, users can log in with these credentials and access applications, as well as update their profiles. After the cruise is done, compare the profile update timestamps for all users in the cruise instance with the same account on the cloud instance. If the update timestamps do not match, update the cloud instance with the new profile data. Do not move the password hashes. Remove the 'on-cruise' attribute from users in the cloud instance.

      Security Warning: This is a security risk! Understand the security model of an account takeover in the cruise ship instance. If anyone else scans the QR code, they can get access to the user's account.

      The benefit is simple merging of data. You also don't need access to the database of the cloud instance, because all the data you are merging is available via the API.

      After successfully pushing the data to the cloud server, wipe the cruise ship FusionAuth instance.

      Cruise Ship FusionAuth With Existing Passwords

      Here you are migrating the source of truth for these users to the cruise ship instance, including passwords, and then syncing them back.

      Steps: Build an import script by reading the password hashes and other password data from the cloud instance for the users who are going on the cruise. This requires direct database access to the cloud instance. Import the users using the Import API to the cruise ship instance. Mark the accounts as 'on-cruise' in the user.data field. By doing this, you can clearly differentiate between the users on the cruise and anyone else in your CIAM system. This makes it easier to merge their profile and credential data after the cruise. Set up a webhook to disable any updates to these user accounts in the cloud FusionAuth instance while on the cruise. Do this by setting up a transactional webhook on user.update that fails when the user being updated has the 'on-cruise' attribute set. When on the ship, users can log in with their normal credentials and access applications, as well as update their profiles and password. After the cruise is done, compare the update timestamps for all users in the cruise instance with the same account on the cloud instance. If the update timestamps do not match, build an import file with the profile data and updated credentials. Read the credentials from the cruise ship instance database. Remove the 'on-cruise' attribute from users in the cloud instance. Delete the users' accounts in the cloud instance and import the user data from the cruise ship generated file.

      The benefit is simple merging back to the cloud instance, because only one instance accepts changes at a time. A user is either managed by the cloud instance or by the cruise ship instance.

      Automated account recovery won't work, so plan to allow staff to reset passwords if needed.

      After successfully pushing the data to the cloud server, wipe the cruise ship FusionAuth instance.

      Cruise Ship FusionAuth With Existing Passwords And Changes Allowed to Cloud FusionAuth

      Here you are migrating these users to the cruise ship instance, including passwords, and then merging them back.

      Steps: Build an import script by reading the password hashes and other password data from the cloud instance for the users who are going on the cruise. This requires direct database access to the cloud instance. Import the users using the Import API to the cruise ship instance. Mark the accounts as 'on-cruise' in the user.data field so that we'll know which users to merge. When on the ship, users can log in with their normal credentials and access applications, as well as update their profiles and password. The same accounts can be updated in the cloud instance by users or automated processes on land. After the cruise is done, compare the update timestamps for all users in the cruise instance with the same account on the cloud instance. If the update timestamps do not match, build an import file with the profile data and updated credentials. For the latter, you'll need to read from the cruise ship database. Prepare to merge the data from the cruise ship and cloud instances. Read all accounts with the 'on-cruise' from the cloud instance with an update date later than the start of the cruise. Find all the users on the cruise ships with an update date later than the start of the cruise. For each account, see what changes were made: If a cloud instance did not change and the cruise ship instance did not change, remove the 'on-cruise' data marker and do nothing else. If a cloud instance changed and the cruise ship instance did not, remove the 'on-cruise' data marker and do nothing else. If a cruise ship instance changed and the cloud instance did not, prepare an import entry from the cruise ship instance for this user. Delete the cloud instance account and then import the cruise ship instance account. If a cruise ship instance changed and the cloud instance did as well, prepare an import entry from the merged cruise ship and cloud instances. How you do this is business dependent. There may be user profile data that should be merged, and other data that might belong to either the cruise ship instance or cloud instance. The most recent password, wherever it lives, is the one that you should use for the import. When the merge is complete, write an import entry to a file. Remove the 'on-cruise' attribute at the same time. When all accounts have been merged successfully, delete the cloud instance account and then import the merged account.

      Automated account recovery won't work, so plan to allow staff to reset passwords if needed.

      After successfully pushing the data to the cloud server, wipe the cruise ship FusionAuth instance.

      Other Considerations

      If you are only allowing the user to change their profile data, you can move data without accessing the database. If users can change their passwords, you have to have access to the database to re-import them. (Or you can force a password reset.) The same applies to other secrets such as passkeys or TOTP secrets.

      Options 1 and 2 work with FusionAuth Cloud hosted servers, but the other options do not because you don't have access to the database with FusionAuth Cloud.

      If you allow a user to register on the cruise ship server, you will have to check for merge conflicts. If someone registered on the cruise ship, it is possible someone could have done the same on the cloud instance during the time of the cruise. Since you know all the cruise ship users, you can alternatively create accounts for everyone and disallow on ship registration.

      When reading the password hashes, make sure you consult the schema for your version of FusionAuth, because the location of password hashes may change over time.

      Account recovery is not available on the cruise ship, so make sure staff understands how to reset a user's password directly via the admin UI.

      What is outlined above takes the final state of the user from the cruise ship and propagates it back the cloud instance. If you need to keep track of changes to the user on the cruise ship instance and replay them in order, use the webhook and event log to capture the events locally. Then replay them when the cruise ship docks using kafka.

    • E

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

      General Discussion
      • • • edschlough
      2
      0
      Votes
      2
      Posts
      256
      Views

      mark.robustelliM

      @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?

    • W

      Solved Creating Users Without SMTP: How to Manually Set Passwords in FusionAuth

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

      W

      Yes, you can create a user without SMTP configured. In the Admin UI, disable the Send Setup Password option and set the password manually during user creation. If you’re using the API, set "sendSetPasswordEmail": false and include a "password" field in the user object.

      Users API

    • W

      Solved Safe Upgrade Guide: Moving from FusionAuth 1.54 to 1.59

      Frequently Asked Questions (FAQ)
      • upgrade • • wesley
      2
      0
      Votes
      2
      Posts
      125
      Views

      W

      During an upgrade, FusionAuth monitors your deployment, and if it becomes unresponsive for more than five minutes, the on-call engineer is alerted. A snapshot of the database is taken before the upgrade, so a rollback is possible, though it is manual and would result in data loss from the time of the upgrade to the rollback. Rollbacks are very rare and have only happened once in the past four years.

      You can safely upgrade directly to 1.59, and many customers do skip versions. The upgrade process is straightforward: once started, the deployment status changes to Upgrading and returns to Active when complete. For production instances, downtime is minimal (typically seconds, if at all) because multi-node deployments use rolling upgrades. Most upgrades take under 20 minutes, though in rare cases they can take up to an hour.

      FusionAuth never forces you to upgrade, but if you are running a very old version (1–2 years behind) and encounter issues, support may request that you upgrade before troubleshooting.

      Upgrading a Deployment

    • danD

      Solved Can I do a step up authentication with WebAuthn/passkeys?

      Q&A
      • webauthn passkeys step-up • • dan
      2
      0
      Votes
      2
      Posts
      328
      Views

      danD

      We have an open issue to make passkeys one of the supported MFA methods.

      But you can perform a step up passkey challenge using the APIs or the SDKs by doing the following:

      User tries to access a restricted resource Customer app sees if the user has already been granted access (via the presence of a cookie, or some other mechanism). If they have, let them through. If the user hasn’t been granted access, perform a webauthn assertion workflow Call the /api/webauthn/start to get the workflow started Interact with the authenticator to produce the signature and whatever other information is needed. This is authenticator-specific. Call the /api/webauthn/assert to complete the workflow and prove possession of the authenticator If the workflow is successful Write a cookie or whatever if you want to remember this permission Let the user through If the workflow isn’t successful Deny access

      If someone doesn't have a passkey enabled, which you can check by calling the /api/webauthn?userId={userId} API, direct them to the self-service account management passkey management pages.

      Here are the API docs for the webauthn API.

    • S

      Changes not being applied

      General Discussion
      • • • sspinn
      6
      0
      Votes
      6
      Posts
      2.8k
      Views

      mark.robustelliM

      @benlabbe2007 What version of FusionAuth are you running?

    • P

      Unsolved Install as Windows Service hangs on creating EventLog source

      Q&A
      • • • pclark
      4
      0
      Votes
      4
      Posts
      1.8k
      Views

      S

      Even though the FusionAuth event log source creation gets stuck and didn't complete. I did notice it made this registry key HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\FusionAuthApp

      fa_event_registry.png

    • A

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

      Comments & Feedback
      • • • atabakov
      2
      0
      Votes
      2
      Posts
      120
      Views

      mark.robustelliM

      @atabakov Can you please share the settings for the application in that Admin UI? Please do not include any secrets.

    • T

      Is it possible to create a user without a password?

      Q&A
      • user creation saml • • trevorr
      6
      0
      Votes
      6
      Posts
      2.9k
      Views

      danD

      As of 1.59.0 this is possible but it is slightly unintuitive how to do it. It’s entirely driven by the form being used. Here's how to do it:

      create a new user admin form: https://fusionauth.io/docs/lifecycle/manage-users/admin-forms make sure you omit the 'password' field from the form assign the form to your tenant create a new user

      You can also create a user directly via the API with no password.

    • danD

      Solved Support for MitID, Denmark's digital ID?

      Q&A
      • identity provider denmark • • dan
      2
      0
      Votes
      2
      Posts
      647
      Views

      danD

      Yes, I believe so.

      It appears that connecting MitID to an application (also called an SP) requires utilizing an approved broker. A broker is essentially an OIDC connector.

      Here is a list of official brokers: https://www.mitid.dk/en-gb/broker/current-brokers/.

      We haven’t tested this, but based on reviewing Signicat’s OIDC documentation, the process seems fairly straightforward. They are one of the MitID brokers.

    • S

      Doubling of login records

      General Discussion
      • • • sergey_smirnov
      23
      0
      Votes
      23
      Posts
      10.7k
      Views

      mark.robustelliM

      @sergey_smirnov, it is awesome that you are able to follow and create steps to replicate the issue. To be 100% I'm not sure if this is a bug or a feature request. If FusionAuth is not behaving as you would like it, I would suggest opening an issue on Github. Be sure to include the details and repeatable steps.

    • W

      Solved Implementing Phone Number Verification in FusionAuth Without Enabling 2FA

      Frequently Asked Questions (FAQ)
      • mfa • • wesley
      3
      0
      Votes
      3
      Posts
      561
      Views

      P

      We had the same setup - needed phone verification without 2FA in FusionAuth. Ended up using webhooks to trigger an external service. I integrated with sms-verification-number.com via their API because I needed real SIM-based numbers, not VoIP. Chose a Polish operator for a local test, and the code arrived in about 50 seconds. If the SMS hadn’t come through, the system would’ve canceled and pulled a new number automatically - no charge. Since we’re testing across regions, being able to switch countries fast helped avoid delays.

    • W

      Solved How to Handle CAPTCHA and Rate Limits for Automated Testing in FusionAuth

      Frequently Asked Questions (FAQ)
      • rate limiting • • wesley
      5
      0
      Votes
      5
      Posts
      1.0k
      Views

      J

      You’ll need to disable or mock CAPTCHA in a test environment and adjust rate-limit settings in FusionAuth’s config or use test API keys to avoid hitting production limits during automated runs.