You want to modify the Two-Factor Login duration in the Tenant Settings, which applies across to SMS and MFA methods.
https://fusionauth.io/docs/get-started/core-concepts/tenants#advanced has more details.
You want to modify the Two-Factor Login duration in the Tenant Settings, which applies across to SMS and MFA methods.
https://fusionauth.io/docs/get-started/core-concepts/tenants#advanced has more details.
Users who's email is lagged by 30 - 60 seconds , the emailed MFA verification code has expired by the time they receive them. I've done a Zoom meeting with the user and verified they are doing everything correctly, but their email is web mail based and must be from cloud provider that has a really slow system. They probably get the email about 60 seconds of they click send verification code and it always fails to verify.
I can't find anything in settings to change the timeout or searching the documentation. Is there a setting for this somewhere that I could change or could Emailed Verification codes be good for at least 90 seconds?
ported to forum from https://github.com/FusionAuth/fusionauth-issues/issues/3545
Hi folks,
We recently enabled Intelligent MFA for the forum application.
If you don't have MFA set up, you'll be prompted to enable it.
Then, going forward, you'll be prompted for MFA if and only if the authentication is determined to be high risk.
Please contact us if you have feedback.
Here are two scenarios for using the FusionAuth API MCP Server, which is an MCP server that connects over STDIO and can be used to configure a FusionAuth instance.
Preview Warning: The FusionAuth MCP server is a preview release and may break, change, or be discontinued. It is intended for development and test instances. Never give an MCP client unrestricted access to a production instance.
This lets you configure FusionAuth and record steps to apply to other instances.
{
"mcpServers": {
"fusionauth-mcp-api": {
"command": "npx",
"args": [
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<your-read-write-api-key>",
"API_BASE_URL": "http://localhost:9011"
}
}
}
}
Restart Claude Desktop after saving.
"Which tools do you have access to?"
You should see a list of all FusionAuth API tools (300+).
"Set up a custom registration form for the Pied Piper application. Require email address and password, but allow first name and favorite color to be optional. Put them all on one page."
Or:
"Add a user with an email address of test@example.com and a password of password."
The agent will make the appropriate API calls on your behalf.
"Please export the configuration for the Pied Piper application to a kickstart file."
"Export the current tenant configuration as a Terraform file."
This gives you a reproducible artifact you can commit to source control or use in CI/CD pipelines.
You can reduce tool scope. If you only need to work with specific operations (e.g., no deletes), you can reduce the tool list to improve performance and limit risk:
"env": {
"API_KEY_APIKEYAUTH": "<your-api-key>",
"API_BASE_URL": "http://localhost:9011",
"USE_TOOLS": "create,update,retrieve,search,other"
}
This omits the delete APIs and reduces the tool list by ~20%.
The security model of this approach consists of three layers: the instance you connect to, the tool categories you expose, and the permissions on the API key itself. Combining a read-only API key with USE_TOOLS="retrieve,search" gives you defense in depth for production queries.
{
"mcpServers": {
"fusionauth-mcp-api-prod": {
"command": "npx",
"args": [
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<your-read-only-api-key>",
"API_BASE_URL": "https://your-production-fusionauth-instance.com",
"USE_TOOLS": "retrieve,search"
}
}
}
}
Setting USE_TOOLS="retrieve,search" reduces the tool list by 66% and ensures the agent cannot create, update, patch, or delete anything. This is a second layer of defense.
"Which tools do you have access to?"
Confirm that only retrieve and search tools are listed — no create, update, delete, or patch tools should appear.
Query production data. You can now safely ask questions like:
The agent will use the read-only API tools to answer your questions without modifying anything.
how would I use the FusionAuth MCP server to allow an agent to interact with FusionAuth?
Note that as of release 1.68.0 (released in late Jun 2026), there is a mfa_deleter role that can remove MFA from a user.
Please see the release notes for more details.
Since we can’t store API keys in code,
FYI, with the release of 1.64.0, you now can store secrets elsewhere and have lambdas retrieve them.
As of 1.62.0, FusionAuth supports pre-verification of emails and phone numbers.
More details:
https://fusionauth.io/docs/lifecycle/manage-users/verification/identity-pre-verification-using-email
https://fusionauth.io/docs/lifecycle/manage-users/verification/identity-pre-verification-using-phone
You have a couple of options.
However, the easiest way to make sure an application cannot be logged into is to deactivate the application.
Is there a way to disable logging into an application without disabling/deleting it?
Per https://github.com/FusionAuth/fusionauth-issues/issues/1810 I'm not clear what my options are.