FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. FASupportBot
    3. Topics
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 87
    • Posts 174
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by FASupportBot

    • F

      Solved What does the new CIMD Domains feature do in FusionAuth?

      Frequently Asked Questions (FAQ)
      • cimd oauth client registration mcp • • FASupportBot
      2
      0
      Votes
      2
      Posts
      222
      Views

      F

      The CIMD Domains feature allows you to dynamically register OAuth clients using the Client ID Metadata Documents (CIMD) OAuth extension. This is not specific to MCP (Model Client Protocol), but rather is designed to support Model Context Protocol (MCP) clients—AI assistants like Claude or ChatGPT that need to connect to your MCP server.

      Note: This feature requires an Enterprise plan and is available since FusionAuth version 1.70.0.

      What It Does

      With CIMD, instead of manually registering each OAuth client in FusionAuth, the client_id itself is an HTTPS URL that points to a JSON document describing the client (its name, redirect URIs, and other metadata). When a user initiates a login flow, FusionAuth:

      Fetches the client metadata document from the URL Validates the document against configured CIMD domains Automatically registers the client just-in-time Caches the client information Proceeds with the OAuth authorization flow Why It Exists

      The Model Context Protocol creates a trust challenge: AI clients like claude.ai or chatgpt.com cannot pre-register with every MCP server in existence. CIMD solves this by allowing you to trust entire origins (like https://claude.ai) rather than individual clients, enabling dynamic registration without manual setup for each client.

      How to Configure

      You configure CIMD domains at the Tenant level. Each CIMD domain represents one trusted origin that clients may register from (e.g., https://claude.ai). You can also use a wildcard * to accept clients from any origin (though this cannot be mixed with specific domains).

      Key Constraints PKCE is required for all CIMD clients Only authorization_code and refresh_token grant types are supported User consent is always required (CIMD clients are treated as third-party clients) Redirect URIs must exactly match what's in the client's metadata document Magic links, passkeys, and IdP-initiated SAML v2 login are not supported Clients must send exactly one resource parameter matching the domain's authorized resource URIs Related Documentation CIMD Domains Concepts — comprehensive overview of CIMD domains and how to manage them OAuth Client Registration with CIMD — details on how CIMD integrates with OAuth client registration Host a Client ID Metadata Document — step-by-step guide for publishing and using CIMD documents Understanding Model Context Protocol — background on MCP and why CIMD is important for AI integrations CIMD Security Considerations — security controls and best practices for CIMD
    • F

      Solved Can user_support_manager role modify user email addresses in FusionAuth?

      Frequently Asked Questions (FAQ)
      • roles permissions user-management api security • • FASupportBot
      2
      0
      Votes
      2
      Posts
      217
      Views

      F

      The user_support_manager role is intentionally restricted from modifying identity information that could be used for authentication, including email addresses and usernames. This is a security measure to prevent potential account takeover scenarios.

      According to the FusionAuth role documentation, the user_support_manager role allows editing users except for authentication-related identity information.

      If you need to grant the ability to change user email addresses, the minimum required role is user_manager. There is no built-in role between user_support_manager and user_manager that allows email modification while restricting other permissions.

      If you need more granular control over what operations are permitted, you should implement custom logic using the FusionAuth API. This approach allows you to:

      Control exactly which fields can be modified Implement your own authorization logic Add additional security checks or approval workflows

      Using the API gives you full flexibility to define permission boundaries that match your specific security requirements.

    • F

      Solved How do I migrate from FusionAuth Cloud to self-hosted for data residency?

      Frequently Asked Questions (FAQ)
      • cloud migration self-hosted database licensing • • FASupportBot
      2
      0
      Votes
      2
      Posts
      227
      Views

      F

      To migrate from FusionAuth Cloud to self-hosted, follow this high-level process:

      Migration Steps Request a database export from FusionAuth Support Match versions: Ensure your self-hosted FusionAuth and database versions match your current Cloud deployment before migrating Load the export into your PostgreSQL instance Configure your self-hosted instance to connect to that database

      Refer to the Migrate from FusionAuth Cloud documentation for detailed steps.

      Licensing

      Your plan includes both production and non-production license keys (available at account.fusionauth.io) :

      Use the non-production key across dev and staging environments Use the production key for your production environment Keeping Your Instance Updated Most updates require no downtime Releases with database schema changes are flagged in the release notes and need a brief pause during migration Always back up your database before updating By default, FusionAuth won't apply database schema changes automatically in production. You can either: Enable silent mode for automatic migration on startup, or Run migration scripts manually before upgrading See database migrations documentation for more details Multi-node Deployment Updates

      If running multiple FusionAuth nodes, you can update using:

      Rolling updates: Update nodes one at a time (details) Blue-green deployment: Switch traffic to a fully updated set of nodes (details)

      Either approach limits downtime to the brief pause during database migration.

      Recommended Next Steps Contact FusionAuth Support to initiate the database export Confirm your current FusionAuth and database versions Set up and test dev and staging environments before migrating production Review the Cloud-hosted vs. self-hosted comparison
    • F

      Solved How can I disable MFA for a locked-out admin user in FusionAuth?

      Frequently Asked Questions (FAQ)
      • mfa two-factor api recovery-codes admin • • FASupportBot
      2
      0
      Votes
      2
      Posts
      242
      Views

      F

      If an admin user is locked out due to MFA, you have several options:

      Use Recovery Codes (if available): If the user previously generated recovery codes, they can use one of those codes to complete the MFA challenge and regain access. Once logged in, they can disable or reconfigure MFA.

      Generate Recovery Codes via API: Another admin with API access can generate recovery codes for the locked-out user using the Generate Recovery Codes API endpoint:

      POST /api/user/two-factor/recovery-code/{userId}

      Replace {userId} with the locked-out user's ID. This will generate new recovery codes that can be shared with the user to complete their MFA challenge.

      Have Another Admin Disable MFA: If you have another admin user with access to the FusionAuth admin UI, they can navigate to the locked-out user's account and disable MFA directly from the user management interface. Users with the admin role can remove MFA methods from any user without requiring a one-time verification code. Navigate to Users → Manage User → Multi-Factor tab, click the red trash can icon next to the MFA method, and confirm the removal.

      Use the User API to Remove MFA: An admin with API access can also remove MFA methods by updating the user object directly. Retrieve the user via the User API, remove the methods from the twoFactor array, and then PUT the updated user back. Note that you must use PUT (not PATCH) due to how array handling works:

      # Retrieve the user curl -XGET -H "Authorization: $API_KEY" \ 'https://your-fusionauth-url/api/user/{userId}' # Remove the twoFactor array entries and PUT the user back curl -XPUT -H 'Content-type: application/json' \ -H "Authorization: $API_KEY" \ 'https://your-fusionauth-url/api/user/{userId}' \ -d '{user object with twoFactor array cleared}'

      Important Note: The standard Disable Multi-Factor API (DELETE /api/user/two-factor/{userId}) is not suitable for this situation, as it requires a valid verification code or recovery code from the user to complete the request. This API is designed for users who can still authenticate.

      These approaches allow you to restore access without losing the security benefits of MFA for other users.

      Related Documentation Multi-Factor Authentication (MFA) - Disable MFA on a User Generate Recovery Codes API Retrieve Recovery Codes API Recovery Codes Overview Disable Multi-Factor API (requires verification code - not suitable for locked-out users) The mfa_deleter Role (for support teams with restricted permissions) User Support Guide - Remove an MFA Method
    • F

      Solved How to install a custom password hashing plugin and ensure correct package naming?

      Frequently Asked Questions (FAQ)
      • plugin password hashing installation configuration • • FASupportBot
      2
      0
      Votes
      2
      Posts
      216
      Views

      F

      Package Naming Requirement

      FusionAuth has a specific package naming requirement for plugins: the @PluginModule class must be in a package that has a parent package named "plugin" or "plugins".

      For example:

      ✅ au.com.company.fusionauth.plugins.product.MyPluginModule ✅ au.com.company.fusionauth.plugin.product.MyPluginModule ❌ au.com.company.fusionauth.product.MyPluginModule (will be skipped silently)

      If the package structure doesn't follow this convention, FusionAuth will skip the plugin JAR without displaying an error.

      Installation Process

      Create the plugins directory in your FusionAuth installation (peer to the bin and config directories):

      Linux/macOS: /usr/local/fusionauth/plugins Windows: \fusionauth\plugins

      Place the plugin JAR file in the FusionAuth plugins directory

      Restart FusionAuth (this will cause 1-2 minutes of downtime)

      Check the startup logs for confirmation messages:

      INFO io.fusionauth.api.plugin.guice.PluginModule - Installing plugin [au.com.company.fusionauth.plugins.product.MyPluginModule] INFO io.fusionauth.api.plugin.guice.PluginModule - Plugin successfully installed Confirming Plugin Installation

      You can verify that your custom password hashing plugin loaded successfully through the Admin UI:

      Navigate to Tenants → [Your Tenant] → Password Scroll to Cryptographic hash settings Look for your custom scheme(s) in the Scheme dropdown field

      If your custom schemes appear in this dropdown, the plugin has been successfully installed.

      Updating a Plugin

      When replacing a plugin version:

      Remove the old JAR file from the plugins directory (don't leave multiple versions installed if they register the same scheme names) Install the new JAR file Restart FusionAuth Verify the new version loaded via the startup logs

      Note: You should never delete an installed password hashing plugin unless you are certain that no users are using the hash provided by that plugin. If any users still have that encryptionScheme associated with their account, FusionAuth will not be able to validate their password.

      Plugin Persistence Through Upgrades

      Plugins should generally persist through FusionAuth version upgrades. However, since FusionAuth bundles its own Java runtime and that runtime version can change between major FusionAuth versions, you may need to rebuild your plugin for compatibility with newer Java versions. It's advisable to test plugin compatibility when planning FusionAuth upgrades.

      Java Compatibility Note

      FusionAuth ships with its own bundled Java runtime. The version depends on your FusionAuth version. For example, FusionAuth 1.70.0 uses Java 25. If your plugin is compiled for Java 17, it should be compatible with Java 25 (forward compatibility), but always test in your environment to confirm.

      Related Documentation Writing a Plugin - Install the Plugin - Detailed installation instructions and directory structure Writing a Plugin - Create the Guice Binding - Package naming requirements for plugins Custom Password Hashing - Overview of custom password hashing plugins Troubleshooting Custom Password Hashing Plugins - Common issues and verification steps Custom Password Hashing - Deleting Plugins - Important considerations when removing plugins Password Hashing Plugins Overview - General information about FusionAuth's plugin mechanism Example Password Encryptor Plugin - Sample plugin project on GitHub
    • F

      Solved How to allow MFA deletion for users without verified email or phone?

      Frequently Asked Questions (FAQ)
      • mfa roles api saml admin-ui • • FASupportBot
      2
      0
      Votes
      2
      Posts
      186
      Views

      F

      The mfa_deleter role has hard requirements that cannot be bypassed. To remove MFA methods using this role, the target user must be notifiable through at least one verified primary identity:

      Verified email + configured tenant.emailConfiguration.adminTwoFactorMethodRemoveEmailTemplateId, OR Verified phone number + configured tenant.phoneConfiguration.adminTwoFactorMethodRemoveTemplateId

      These requirements are by design and cannot be adjusted. The mfa_deleter role includes these safeguards to reduce the risk of abuse—when an MFA method is removed via this role, FusionAuth sends a notification to the affected user, so they must have a verified communication channel available.

      Workarounds

      You have two options to remove MFA for users without verified contact information:

      1. Use the Admin role

      Users with the Admin role are not subject to these verification requirements and can remove MFA methods from any user in the Admin UI.

      2. Use the API

      Remove MFA methods programmatically using the Update a User API:

      PATCH /api/user/{userId} Authorization: <your-api-key> Content-Type: application/json { "user": { "twoFactor": { "methods": [] } } }

      This approach allows you to build a custom support tool that removes MFA without granting full admin privileges to support staff.

      Related Documentation The mfa_deleter Role - Details on the mfa_deleter role's constraints and requirements User Support Guide: Remove an MFA Method - Step-by-step instructions for using the mfa_deleter role Update a User API - API documentation for updating user properties, including MFA methods Admin Roles - Complete list of FusionAuth Admin UI roles and their permissions Admin Two-Factor Authentication Method Removed Email Template - Template used for notifications when admin removes MFA Admin Two-Factor Authentication Method Removed SMS Template - SMS template for MFA removal notifications
    • F

      Solved When will FusionAuth support android:apk-key-hash: origins for passkey sign-in?

      Frequently Asked Questions (FAQ)
      • passkey webauthn android authentication bug • • FASupportBot
      2
      0
      Votes
      2
      Posts
      157
      Views

      F

      This issue has been fixed and released. The bug preventing FusionAuth from accepting android:apk-key-hash: origins for Android passkey authentication was addressed in a recent release.

      The fix went through the standard development and review process:

      Bug categorized and prioritized Fix implemented by the development team Code review completed Released in a subsequent version

      You can verify the fix is working in your environment by testing passkey registration and authentication flows on Android devices. The android:apk-key-hash: origin format should now be properly recognized during WebAuthn operations.

      For similar issues in the future, you can track progress on FusionAuth's GitHub issues page and monitor release notes for bug fix announcements.

    • F

      Solved How to prevent performance issues from unbounded login history growth?

      Frequently Asked Questions (FAQ)
      • performance login-records database retention configuration • • FASupportBot
      2
      0
      Votes
      2
      Posts
      184
      Views

      F

      To prevent performance degradation from unbounded login history growth, you should configure a retention period in your Login Record Settings rather than keeping unlimited history.

      Recommended Configuration Navigate to Settings → System → Advanced → Login Record Settings Enable auto-deletion of login records Set a retention period (365 days is a common best practice) Once configured, records older than your specified retention period will be removed on a rolling basis What to Expect Zero downtime: This is a simple configuration change that does not require any system downtime Initial cleanup: After setting the retention period, FusionAuth will automatically delete existing records that exceed the retention threshold. Any existing login records older than the configured number of days become eligible for deletion based on this configuration — they are not grandfathered in. Rolling maintenance: Going forward, old records are automatically cleaned up, preventing the tables from growing indefinitely Implementation Options

      You can make this configuration change yourself during a convenient time. The change can be applied through:

      Admin UI: Navigate to Settings → System → Advanced → Login Record Settings System Configuration API: Use a PATCH or PUT request to /api/system-configuration with the loginRecordConfiguration settings Terraform: Configure the login_record_configuration block in your system configuration resource

      This proactive maintenance helps ensure your FusionAuth instance remains performant as your user base and login volume grow over time.

      Related Documentation Update System Configuration API - Request Body - Details on configuring login record retention via API, including the loginRecordConfiguration.delete.enabled and numberOfDaysToRetain parameters Terraform System Configuration Resource - Configuration reference for managing login record settings with Terraform Search Login Records API - API for searching and paginating through login records Export Login Records API - API for exporting login records to CSV format
    • F

      Solved How to perform load testing on FusionAuth for spiky traffic patterns?

      Frequently Asked Questions (FAQ)
      • load-testing performance cloud rate-limiting • • FASupportBot
      2
      0
      Votes
      2
      Posts
      435
      Views

      F

      Load testing FusionAuth typically involves using a modern tool like k6 to simulate your expected traffic patterns. Here's the general approach:

      Use k6 or other HTTP-capable load testing tools: While k6 is a good modern option, FusionAuth can be load tested with any HTTP-capable load testing tool such as Gatling, JMeter, or Locust. FusionAuth also provides an open source load testing repository with pre-built scenarios including creating tenants and applications, registering users, logging users in via the Login API, and full Authorization Code grant flows.

      Profile your traffic: Use your load testing tool to determine what your actual traffic patterns will look like, especially accounting for your spiky demand. This helps you understand the load FusionAuth will need to handle. Look beyond just averages—also check the p95 (95th percentile) response time to understand the experience of your slowest users.

      Test in a production-like environment: It's critical to load test against an environment that mirrors your expected production setup. If you're using FusionAuth Cloud, the Basic Cloud tier (single node running FusionAuth, Elasticsearch, and PostgreSQL together) is not representative and not recommended for load testing. Instead, use a Business Cloud or High-Availability plan for meaningful load testing. You can spin up an HA instance, run your tests, and tear it down—you'll only be charged for the time it's running.

      Notify FusionAuth if testing on Cloud: If you're load testing on FusionAuth Cloud, open a support ticket to let the team know when you plan to stress test, as they monitor CPU and other metrics.

      Monitor the right components: Performance bottlenecks are typically the database or CPU nodes. Both logins and user creation are CPU-intensive due to password hashing. If testing a multi-node system behind a load balancer, disable sticky sessions as they are not required for FusionAuth.

      IP allowlisting considerations: If you're using FusionAuth Cloud, you may need to consider IP allowlisting depending on your security configuration. FusionAuth Cloud has protections in place to prevent DoS attacks and keep services running smoothly.

      The specific approach can vary based on your exact traffic patterns and requirements, but these are the key components most customers use when load testing FusionAuth.

      Related Documentation Load Test Documentation - Comprehensive guide on load testing FusionAuth, including tool recommendations and best practices FusionAuth Load Tests GitHub Repository - Open source load testing scripts with pre-built scenarios Handling Spiky Game Traffic: Registration & Autoscaling Best Practices - Specific guidance for handling spiky traffic patterns during high-demand scenarios FusionAuth Cloud High Availability Architecture - Details on HA deployment options for production-like testing FusionAuth Cloud Security - Information about Cloud security protections and rate limiting Troubleshooting Performance - Guide for troubleshooting performance issues Scaling Your Auth - Best Practices for Performance and Security - General guidance on scaling authentication systems
    • F

      Solved Can I reuse the same FusionAuth license key across dev, staging, and production?

      Frequently Asked Questions (FAQ)
      • license migration self-hosted deployment environment • • FASupportBot
      2
      0
      Votes
      2
      Posts
      436
      Views

      F

      Yes, you can use your FusionAuth licenses across multiple environments, but you should use the appropriate license type for each:

      License Structure

      In your account portal at account.fusionauth.io, you should see two licenses:

      Production License — use this for your production environment only Non-Production License — use this for your dev and staging environments Best Practice Deploy the Non-Production license to your dev and staging instances Deploy the Production license to your production instance

      Both licenses can be active simultaneously across different deployments without conflict. The license key itself is tied to your account and does not interfere with your managed FusionAuth Cloud setup when used in self-hosted deployments.

      Important Notes

      The non-production license can be used across as many non-production environments as you need — dev, staging, QA, UAT, CI/CD, or even individual developer local instances. There's no limit on the number of instances using the non-production key.

      Do not use the production license on non-production environments — this would cause test logins to count toward your Monthly Active Users (MAU) and affect your billing.

      License costs are not based on the number of instances — whether you have 1, 2, or 100 instances, the license cost is related only to your plan tier and MAU count.

      Using self-hosted licenses won't affect your FusionAuth Cloud deployment — the licenses operate independently, so activating your license keys on self-hosted instances will not disrupt your existing managed environment.

      Related Documentation Licensing Documentation — Overview of FusionAuth licensing concepts License FAQ: Non-Production Licenses — Details on using licenses for dev/QA/UAT servers License FAQ: Multiple Deployments — How license costs work with multiple instances Account Portal Documentation — Where to find your license keys Cloud vs Self-Hosted — Comparison of hosting options
    • F

      Solved Why is `act` claim now reserved in 1.70.0? Lambda silently fails with no warning

      Frequently Asked Questions (FAQ)
      • jwt lambda claims upgrade 1-70-0 • • FASupportBot
      2
      0
      Votes
      2
      Posts
      260
      Views

      F

      The act claim was reserved in FusionAuth 1.70.0 because it is defined in RFC 8693 (OAuth 2.0 Token Exchange) as a standard claim representing the "actor" in delegated token scenarios. FusionAuth began enforcing this reservation to ensure compliance with the RFC and prevent conflicts with the claim's intended usage in token exchange flows.

      Why This Is Classified as Minor

      FusionAuth follows semantic versioning, and this change was classified as minor rather than breaking because:

      The act claim is a standardized RFC claim with a specific defined purpose Using non-standard values in RFC-defined claims can cause interoperability issues with other OAuth/OIDC systems The change aligns FusionAuth's behavior with industry standards

      However, the lack of logging when a reserved claim is silently discarded is a valid concern and makes troubleshooting difficult.

      Recommended Solutions 1. Use a Custom Claim Namespace

      Instead of using act directly, use a namespaced custom claim that won't conflict with RFC-defined claims:

      // In your JWT populate lambda jwt['https://yourapp.com/actor'] = 'your-actor-id';

      This approach is standard practice in OAuth/OIDC and prevents future collisions with reserved claims.

      2. Use applicationId or Other Non-Reserved Claims

      If the actor represents an application or service account, consider using the built-in applicationId claim or another custom claim that describes your specific use case (e.g., actorId, serviceAccountId).

      Why Reserved Claims Cannot Be Overridden

      Reserved claims like act, sub, iss, aud, etc., are protected because they have specific meanings defined by RFCs and must maintain consistent behavior for:

      Interoperability: Other systems expect these claims to have specific formats and meanings Security: Claims like iss and aud are critical for token validation and cannot be arbitrarily changed Standards Compliance: FusionAuth aims to be a standards-compliant identity provider Migration Path

      If you're currently using act in production:

      Update your JWT populate lambda to use a namespaced custom claim Update your application to read from the new claim name Test thoroughly in a non-production environment before upgrading

      If you need to maintain backward compatibility during migration, you could temporarily set both claims in your lambda (the custom namespaced one and attempt to set act, knowing it will be discarded) and update your application to check for both, prioritizing the custom claim.

      Related Documentation JWT Populate Lambda - Documentation on customizing JWT claims with lambdas Client Credentials JWT Populate Lambda - Documentation for lambdas in the Client Credentials grant OAuth Token Exchange (RFC 8693) - FusionAuth's implementation of RFC 8693, which defines the act claim FusionAuth 1.70.0 Release Notes - Release notes for version 1.70.0 FusionAuth 1.70 Announcement: Token Exchange - Blog post explaining the new token exchange feature and scoped delegation GitHub Issue #1721: JWT claim overriding, namespacing or the ability to unreserve claims - Open issue discussing the ability to override or unreserve claims Additional Context on Reserved Claims

      As of FusionAuth 1.70.0, the following claims are reserved in JWT Populate Lambdas and cannot be modified:

      act (added in 1.70.0) amr auth_time authenticationType cnf fa_uid gty iat sub tid tty

      Note: The exp claim can be lowered (shortened) but not extended or removed.

      For other lambda types (Client Credentials, UserInfo, Token Exchange), different sets of reserved claims apply. Always use namespaced custom claims (e.g., https://example.com/my-claim) to avoid conflicts with current or future reserved claims.

    • F

      Solved WebAuthn passkey registration fails on Android with origin validation error in 1.69.2

      Frequently Asked Questions (FAQ)
      • webauthn passkey android credential manager • • FASupportBot
      2
      0
      Votes
      2
      Posts
      351
      Views

      F

      This is a confirmed bug in FusionAuth 1.69.2. The issue is in how FusionAuth validates the origin from clientDataJSON during WebAuthn registration.

      This has been fixed and will be released in the next release. Subscribe to the release announcements to be notified when that happens.

    • F

      Solved Is `auth_time` in refresh token metadata reliable for MFA + PASSWORD flows?

      Frequently Asked Questions (FAQ)
      • refresh-token metadata mfa authentication api • • FASupportBot
      2
      0
      Votes
      2
      Posts
      321
      Views

      F

      The data sub-object containing auth_time and authentication_type in refresh token metadata is not currently a documented or officially supported feature in FusionAuth. Its presence is inconsistent across authentication flows, as you've observed — it appears for some authentication types but not others (notably absent for MFA + PASSWORD flows).

      According to the official documentation, the only documented fields within refresh token metaData are:

      metaData.device — An object containing device information (name, type, description, lastAccessedAddress, lastAccessedInstant) metaData.scopes — An array of OAuth scopes associated with the token metaData.resources — An array of resource URIs per RFC 8707 (available since v1.67.0)

      The data sub-object with auth_time and authentication_type that you're observing is not part of the documented API contract. Because this is undocumented behavior, you should not rely on it in production code, as it may change or be removed in future versions without notice.

      Important Distinction: auth_time on JWTs vs Refresh Tokens

      Note that auth_time is a standard and documented claim on access tokens and ID tokens (the JWTs themselves), where it represents the time of initial authentication. However, it is not a documented field on the refresh token record itself when queried via the retrieval API.

      Related Documentation Retrieve Refresh Tokens API — Official API documentation including the complete response body structure for refresh tokens Access Token and ID Token Claims — Where auth_time is officially documented as a JWT claim Multi-Factor Authentication (MFA) — Guide to implementing MFA in FusionAuth JWT Refresh API — How to use refresh tokens to obtain new access tokens
    • F

      Solved How are database migrations handled for FusionAuth Cloud instances?

      Frequently Asked Questions (FAQ)
      • cloud saas upgrade database migration • • FASupportBot
      2
      0
      Votes
      2
      Posts
      870
      Views

      F

      For FusionAuth Cloud (SaaS) instances, database migrations are automatically applied as part of the upgrade process. You do not need to take any action.

      The FusionAuth Cloud team handles all required database migrations when upgrading your hosted instance to a new version. This is managed on your behalf as part of the cloud service. When you initiate an upgrade through your FusionAuth Account dashboard, the migrations run automatically during the upgrade process.

      For HA Cloud (multi-node) deployments, nodes are upgraded one at a time. When the first upgraded node connects to the database, it locks the database and runs the required migrations while other nodes continue serving traffic, resulting in only seconds of downtime.

      For Basic/Business Cloud (single-node) deployments, the entire instance goes offline during the upgrade, with downtime ranging from 5 to 60 minutes depending on the amount of data and schema changes required.

      If you are running a self-hosted FusionAuth instance, you would need to follow the upgrade guide and apply any required out-of-band migrations manually (or configure Silent Mode for automatic migrations). However, for cloud-hosted instances, this is handled automatically by FusionAuth.

      Note: You cannot downgrade a FusionAuth Cloud deployment version after upgrading, so it's recommended to test upgrades in a non-production environment first if possible.

      Related Documentation FusionAuth Cloud - Upgrading a Deployment - Details on the Cloud upgrade process and downtime expectations Upgrade FusionAuth - Upgrade Options - Overview of different upgrade strategies including HA deployments Out-of-Band Database Upgrades - Information on manual migrations for self-hosted instances Silent Mode - Automatic migration handling for self-hosted deployments
    • F

      Solved How to migrate a user's 2FA from Microsoft Authenticator to 1Password?

      Frequently Asked Questions (FAQ)
      • mfa two-factor totp authenticator account • • FASupportBot
      2
      0
      Votes
      2
      Posts
      313
      Views

      F

      To migrate a user from Microsoft Authenticator to 1Password (or any other TOTP authenticator app), the recommended approach is to remove the old method first, then have the user re-enroll with the new app.

      Step 1: Prompt the user to enroll with 1Password

      The user can add a new authenticator method via:

      Self-service account management (paid plans):

      User navigates to their account page → Manage two-factor → Add two-factor → Authenticator app Scan the new QR code with 1Password, including providing a name See: Add Authenticator as a second factor

      You can also build your own page using the APIs.

      This approach ensures a clean transition between authenticator apps without conflicts or confusion.

      Step 2: Remove the existing Microsoft Authenticator method

      You have two options:

      Option A: Admin UI

      Navigate to Users → [Select User] → Multi-Factor tab Click the red trash icon to remove the authenticator method An admin role can do this without requiring a one-time code from the user An mfa_deleter role can do this, but confirmation from the user is required. See: Disable MFA documentation

      Option B: User API (programmatically)

      GET the user object Remove the authenticator entry from the twoFactor.methods array PUT the updated user object back This requires no code from the user and is useful for support scenarios (e.g., user lost their device) Note: Use PUT rather than PATCH due to how arrays are handled in the API

      This approach ensures that the user always has MFA enabled, but requires action on their part.

      If you reverse them, but use an MFA policy of Required (or one of the intelligent MFA policies), then users will be forced to re-enroll.

      Related Documentation Multi-Factor Authentication (MFA) Overview Disable MFA on a User Add Authenticator as a Second Factor Self-Service Account Management Update a User API Disable Multi-Factor API
    • F

      Solved How are FusionAuth Cloud deployments sorted in the account portal?

      Frequently Asked Questions (FAQ)
      • cloud account-portal deployments feature-request • • FASupportBot
      2
      0
      Votes
      2
      Posts
      402
      Views

      F

      Currently, there is no sorting logic implemented for deployments in the FusionAuth Cloud account portal. The order of deployments is not sorted alphabetically or by any other consistent criteria at this time.

      This has been noted as a feature request to add sorting capabilities (or the ability to manually sort) deployments in the account portal. This would help prevent accidental selection of the wrong instance when managing multiple FusionAuth Cloud deployments.

      In the meantime, extra care should be taken when selecting deployments from the list to ensure you're working with the correct instance. You can use the Rename feature (available in the Action dropdown menu for each deployment) to give your deployments descriptive names that help distinguish between different products or environments.

      Related Documentation Managing Your Deployments - Overview of managing FusionAuth Cloud deployments in the account portal The Account Portal - Documentation on accessing and using the account portal FusionAuth Account Portal Reference - Complete reference for the FusionAuth account portal features
    • F

      Solved How to get static outbound IP addresses for FusionAuth Cloud email delivery?

      Frequently Asked Questions (FAQ)
      • fusionauth cloud email smtp static-ip • • FASupportBot
      2
      0
      Votes
      2
      Posts
      378
      Views

      F

      FusionAuth Cloud deployments can provide static outbound IP addresses for email delivery and other outbound connections. The availability and process depend on when your deployment was created.

      Getting Static IP Addresses

      For new FusionAuth Cloud deployments: Static IP addresses are already configured automatically.

      For existing deployments: You need to open a support ticket to get static IP addresses assigned.

      How to Request Your Deployment's IP Addresses

      To retrieve the specific outbound IP addresses for your deployment (e.g., to allowlist them with your SMTP provider):

      Open a support ticket Include the name of the deployment for which you need the outbound IP addresses

      Once assigned, these IP addresses will remain static and won't change during upgrades, restarts, or normal operations.

      Important Notes About the IP Addresses The provided IP addresses are for outbound traffic only (firewalls, allowlists, SPF records, etc.) — they will not respond to HTTP API calls You should add these IPs to your SPF DNS record for your sending domain to prevent password reset and other transactional emails from landing in spam Multiple IP addresses may be provided for high availability Recommended Approach

      If you have both production and development environments:

      Request and configure the static IPs for your development instance first Test email delivery with the allowlisted IPs Once verified, request and configure the production deployment's static IPs Related Documentation FusionAuth Cloud - Deployment IP Addresses - Official documentation on obtaining IP addresses for your FusionAuth Cloud deployment Configure SMTP - Complete guide to configuring email delivery in FusionAuth SMTP Best Practices - Recommendations for maintaining good sender reputation including SPF records GitHub Issue #1393 - Original feature request for static IP addresses in FusionAuth Cloud
    • F

      Solved Remember Me checkbox not working — users logged out after one hour despite being checked

      Frequently Asked Questions (FAQ)
      • remember-me oauth session device-trust tenant • • FASupportBot
      2
      0
      Votes
      2
      Posts
      439
      Views

      F

      The behavior you're experiencing is likely related to the SSO Session Timeout setting in your Tenant configuration.

      Understanding the "Remember Me" Checkbox

      The "Remember Me" checkbox (labeled "Keep me signed in" in the default theme) controls the FusionAuth SSO session. When checked, it creates a persistent cookie that allows users to remain logged in across browser sessions. However, even with this option checked, the session will still expire based on your configured Session Timeout value.

      Check Your SSO Session Timeout

      Navigate to:

      Tenants → (your tenant) → OAuth tab Look for the Session timeout setting The default value is 3600 seconds (1 hour)

      This setting controls how long the FusionAuth SSO session remains valid. When this duration expires, users are logged out and must re-authenticate, even if they previously selected "Remember Me."

      The one-hour expiration you're seeing matches the default Session Timeout setting, which explains why users are consistently logged out after that time period.

      To Resolve This Issue Increase the Session timeout value to a longer period (e.g., 86400 seconds for 24 hours, 2592000 seconds for 30 days, or whatever suits your security requirements) Save the Tenant configuration Have users log in again with "Remember Me" checked

      The new timeout will apply to all new SSO sessions created after the configuration change.

      Related Documentation Logout and Session Management - SSO Session Timeouts FusionAuth Cookies Reference Does FusionAuth support Remember Me functionality? Configure Session Timeout
    • F

      Solved Can I use AWS SNS Notify for SMS MFA with FusionAuth Generic Messenger?

      Frequently Asked Questions (FAQ)
      • mfa sms generic messenger aws • • FASupportBot
      2
      0
      Votes
      2
      Posts
      263
      Views

      F

      Yes, this is feasible, but you cannot integrate AWS SNS Notify directly with FusionAuth's Generic Messenger. You'll need to implement a middleware relay to bridge the two systems.

      Architecture

      The Generic Messenger can only POST JSON to a URL, while AWS Notify requires AWS-signed API calls. The solution is to place a relay service between FusionAuth and AWS SNS.

      Recommended approach:

      Set up an AWS API Gateway endpoint backed by a Lambda function as your relay Configure FusionAuth's Generic Messenger to POST to this API Gateway endpoint The Lambda function receives the phone number and message from FusionAuth The Lambda extracts the MFA code from the payload The Lambda calls AWS SNS SendNotifyTextMessage with the code as a template variable AWS SNS delivers the SMS using your pre-approved template Important constraint

      You must configure AWS Notify to use "you generate the code" mode, because FusionAuth generates and validates its own MFA codes internally.

      Additionally, AWS SNS Notify only sends pre-approved message templates for compliance reasons, so FusionAuth's custom message wording will not reach the end user — only the MFA code itself will be inserted into your AWS template.

    • F

      Solved How to audit if application authentication tokens have been used for login?

      Frequently Asked Questions (FAQ)
      • authentication tokens api login-records audit • • FASupportBot
      2
      0
      Votes
      2
      Posts
      418
      Views

      F

      Login records in FusionAuth (via the Login Report) don't distinguish between authentication methods. The response fields include applicationId, applicationName, loginId, loginIdType, instant, ipAddress, and userId, but none indicate the credential type used (token vs. password vs. SSO).

      Recommended Approach

      You can determine token usage by checking the lastLoginInstant field on user registrations:

      Use the Retrieve User Registration endpoint (GET /api/user/registration/{userId}/{applicationId}) or search for users with tokens For each registration with an authenticationToken, check the lastLoginInstant against your time windows (30 days, 90 days, 1 year) If lastLoginInstant falls within your time window for any user, someone authenticated to that application during that period

      Here's a Python script approach:

      import requests from datetime import datetime, timedelta # Define time windows windows = { '30d': datetime.now() - timedelta(days=30), '90d': datetime.now() - timedelta(days=90), '1y': datetime.now() - timedelta(days=365) } # Pull registrations for your application # Check each registration's lastLoginInstant against cutoffs # Count how many fall within each window

      If all time windows return 0 users: Nobody authenticated to that application during those periods, so the tokens weren't used.

      If users show up: The lastLoginInstant can't distinguish whether they used the token, password, or SSO. In this case, you have two additional options:

      Check proxy/application logs for /api/login API calls and examine the request body to see if loginId and password were provided, or if it was a token-based authentication

      Check webhook events: If you have webhooks configured, examine user.login.success events for the authenticationType field. When a user authenticates with an application authentication token, the value will be APPLICATION_TOKEN. Other possible values include PASSWORD, REFRESH_TOKEN, identity providers like GOOGLE or FACEBOOK, and many more.

      Check JWTs: If you capture or log JWTs, the access token contains an authenticationType claim that indicates the authentication method used. For authentication tokens, this will be set to APPLICATION_TOKEN.

      Related Documentation Application Authentication Tokens - Overview of application authentication tokens and how they work Retrieve a User Registration API - API documentation for retrieving user registration details including authenticationToken and lastLoginInstant Search Login Records API - API for searching login records (note: does not include authenticationType) User Login Success Event - Webhook event that includes authenticationType field Authentication Types Reference - Complete list of authentication types including APPLICATION_TOKEN, PASSWORD, and others Login API - API for authenticating users with various methods including authentication tokens