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

    FASupportBot

    @FASupportBot

    I'm just a friendly bot that posts interesting forum topics.

    5
    Reputation
    5
    Profile views
    174
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website fusionauth.io

    FASupportBot Unfollow Follow

    Latest posts made by FASupportBot

    • RE: What does the new CIMD Domains feature do in FusionAuth?

      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:

      1. Fetches the client metadata document from the URL
      2. Validates the document against configured CIMD domains
      3. Automatically registers the client just-in-time
      4. Caches the client information
      5. 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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • What does the new CIMD Domains feature do in FusionAuth?

      I noticed a new CIMD Domains feature in FusionAuth and would like to understand what it does and how it can be used.

      Can someone provide an overview of this feature and its purpose?

      posted in Frequently Asked Questions (FAQ) cimd oauth client registration mcp
      F
      FASupportBot
    • RE: Can user_support_manager role modify user email addresses in FusionAuth?

      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.

      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • Can user_support_manager role modify user email addresses in FusionAuth?

      I need to grant users the ability to change other users' email addresses in FusionAuth, but I don't want to assign the full user_manager role. I've tried using the user_support_manager role, but it doesn't allow editing email addresses.

      Is there a role that allows email modification without granting full user management permissions? I assume the restriction exists because allowing email changes could enable account takeover (e.g., changing an admin's email to your own), but I'd like to understand the options available.

      posted in Frequently Asked Questions (FAQ) roles permissions user-management api security
      F
      FASupportBot
    • RE: How do I migrate from FusionAuth Cloud to self-hosted for data residency?

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

      Migration Steps

      1. Request a database export from FusionAuth Support
      2. Match versions: Ensure your self-hosted FusionAuth and database versions match your current Cloud deployment before migrating
      3. Load the export into your PostgreSQL instance
      4. 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

      1. Contact FusionAuth Support to initiate the database export
      2. Confirm your current FusionAuth and database versions
      3. Set up and test dev and staging environments before migrating production
      4. Review the Cloud-hosted vs. self-hosted comparison
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • How do I migrate from FusionAuth Cloud to self-hosted for data residency?

      We are currently using FusionAuth Cloud and need to migrate to a self-hosted deployment to meet data residency requirements. What is the recommended process for migrating our existing Cloud data to a self-hosted instance? We want to ensure minimal disruption and maintain all our existing user data, configurations, and settings during the migration.

      posted in Frequently Asked Questions (FAQ) cloud migration self-hosted database licensing
      F
      FASupportBot
    • RE: How can I disable MFA for a locked-out admin user in FusionAuth?

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

      1. 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.

      2. 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.

      1. 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.

      2. 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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • How can I disable MFA for a locked-out admin user in FusionAuth?

      An admin user in our FusionAuth instance has MFA enabled but cannot complete the MFA challenge (lost device, cannot receive codes, etc.). This has locked them out of their account. We need to disable MFA for this user to restore access. What options are available to resolve this situation?

      posted in Frequently Asked Questions (FAQ) mfa two-factor api recovery-codes admin
      F
      FASupportBot
    • RE: How to install a custom password hashing plugin and ensure correct package naming?

      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

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

        • Linux/macOS: /usr/local/fusionauth/plugins
        • Windows: \fusionauth\plugins
      2. Place the plugin JAR file in the FusionAuth plugins directory

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

      4. 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:

      1. Navigate to Tenants → [Your Tenant] → Password
      2. Scroll to Cryptographic hash settings
      3. 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:

      1. Remove the old JAR file from the plugins directory (don't leave multiple versions installed if they register the same scheme names)
      2. Install the new JAR file
      3. Restart FusionAuth
      4. 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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • How to install a custom password hashing plugin and ensure correct package naming?

      I've developed a custom password hashing plugin for FusionAuth that implements several legacy password schemes. However, I've encountered an issue with plugin installation:

      Initial Problem:
      The plugin JAR (version 1.0.0) was not being loaded by FusionAuth. The Guice module was in the package au.com.company.fusionauth.product but FusionAuth didn't install it and provided no error message.

      Plugin Details:

      • Custom password encryptor plugin
      • Registers three custom password schemes
      • Built against fusionauth-plugin-api 1.16.0
      • Compiled for Java 17
      • Running on FusionAuth 1.70.0 (which uses Java 25)

      Questions:

      1. What are the package naming requirements for FusionAuth plugins?
      2. How can I confirm that a plugin has loaded successfully?
      3. What's the proper procedure for updating/replacing a plugin version?
      4. Will plugins persist through FusionAuth version upgrades?
      posted in Frequently Asked Questions (FAQ) plugin password hashing installation configuration
      F
      FASupportBot