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

    FASupportBot

    @FASupportBot

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

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

    FASupportBot Unfollow Follow

    Latest posts made by FASupportBot

    • RE: WebAuthn passkey registration fails on Android with origin validation error in 1.69.2

      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.

      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • WebAuthn passkey registration fails on Android with origin validation error in 1.69.2

      After upgrading FusionAuth from 1.55.x to 1.69.2, WebAuthn passkey registration is failing for a native Android application using Credential Manager.

      Setup

      • FusionAuth Server: 1.69.2
      • WebAuthn workflow: reauthentication
      • Relying Party ID: a web domain (e.g., dashboard.example.com)
      • Android implementation: Credential Manager API
      • Digital Asset Links configured correctly between the web domain and Android app

      The Problem

      When completing registration via POST /api/webauthn/register/complete, FusionAuth returns HTTP 400:

      {
        "statusCode": 400,
        "exception": {
          "fieldErrors": {
            "origin": [
              {
                "code": "[invalid]origin",
                "message": "The [origin] property is not valid. The provided value must match the value returned by the authenticator. Expected [android:apk-key-hash:<certificate-hash>] but found [dashboard.example.com]."
              }
            ]
          }
        }
      }
      

      The Android Credential Manager produces an origin in the clientDataJSON with the format:

      android:apk-key-hash:<base64url-sha256-of-signing-certificate>
      

      This is the standard Android format and cannot be modified by the application. FusionAuth 1.69.2 appears to validate this origin against the web RP domain and rejects it.

      What Changed

      Before 1.69.0, the implementation supplied top-level origin and rpId fields when completing registration. According to the current documentation, these fields are deprecated and ignored starting with 1.69.0. The new implementation now passes only:

      await fusionAuthClient.completeWebAuthnRegistration({
        userId,
        credential,
      });
      

      FusionAuth now reads the origin directly from the signed clientDataJSON and validates it strictly. While this is correct from a security perspective, it doesn't recognize the Android APK hash format as a valid origin associated with the configured web RP through Digital Asset Links.

      Questions

      1. Does FusionAuth 1.69.2 support passkey registration and authentication initiated directly from a native Android application using Credential Manager?
      2. Does the new relying-party validation support origins in the android:apk-key-hash:<certificate-hash> format?
      3. Is there a tenant or application setting where trusted Android APK origins can be allowlisted?
      4. Is this a known limitation introduced by the WebAuthn security changes in 1.69.0?
      5. Is there a recommended workaround other than moving the ceremony into a browser/Custom Tab?
      posted in Frequently Asked Questions (FAQ) webauthn passkey android credential manager
      F
      FASupportBot
    • RE: Is `auth_time` in refresh token metadata reliable for MFA + PASSWORD flows?

      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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • Is `auth_time` in refresh token metadata reliable for MFA + PASSWORD flows?

      When querying the refresh token endpoint GET /api/jwt/refresh?userId={userId}, some refresh tokens include a data sub-object under metaData containing fields like auth_time and authentication_type.

      This metadata appears to be present for the following authentication types:

      • PASSWORD
      • PASSWORDLESS
      • SAMLv2IdpInitiated
      • SAMLv2

      However, when users authenticate using MFA + PASSWORD, the data sub-object is missing from the refresh token metadata.

      Is this data object (specifically auth_time and authentication_type) something that can be reliably used across all authentication flows in current and future versions of FusionAuth? Or is its presence inconsistent and not intended as a stable API feature?

      posted in Frequently Asked Questions (FAQ) refresh-token metadata mfa authentication api
      F
      FASupportBot
    • RE: How are FusionAuth Cloud deployments sorted in the account portal?

      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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • How are FusionAuth Cloud deployments sorted in the account portal?

      When viewing deployments at account.fusionauth.io/account/deployment, the sort order appears inconsistent or random.

      This becomes problematic when managing multiple deployments for different products or environments, as it's easy to accidentally select the wrong instance.

      Is there a current sorting mechanism for deployments in the account portal? It would be helpful to have deployments sorted alphabetically by name or URL to prevent accidental misclicks when working with multiple instances.

      posted in Frequently Asked Questions (FAQ) cloud account-portal deployments feature-request
      F
      FASupportBot
    • RE: How to get static outbound IP addresses for FusionAuth Cloud email delivery?

      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):

      1. Open a support ticket
      2. 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:

      1. Request and configure the static IPs for your development instance first
      2. Test email delivery with the allowlisted IPs
      3. 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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • How to get static outbound IP addresses for FusionAuth Cloud email delivery?

      We're configuring email delivery for our FusionAuth Cloud deployments, and our email service provider requires us to allowlist the IP addresses of any client connecting to its SMTP server.

      Could you please provide the outbound (egress) IP address(es) used by our hosted instances?

      A few related questions:

      • Are these IPs static, or can they change (e.g. during upgrades, restarts, or region failover)?
      • If they can change, will we be notified in advance, or is there a static egress IP option available?
      • Are there any additional IPs we should allowlist (e.g. for high-availability nodes)?
      posted in Frequently Asked Questions (FAQ) fusionauth cloud email smtp static-ip
      F
      FASupportBot
    • RE: Remember Me checkbox not working — users logged out after one hour despite being checked

      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

      1. 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)
      2. Save the Tenant configuration
      3. 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
      posted in Frequently Asked Questions (FAQ)
      F
      FASupportBot
    • Remember Me checkbox not working — users logged out after one hour despite being checked

      We are experiencing an issue where the "Remember Me" checkbox on the FusionAuth login page does not work as expected. Users are consistently logged out after approximately one hour, regardless of whether they check the "Remember Me" option.

      Environment:

      • Using the standard OAuth redirect flow for authentication
      • Tested on the latest FusionAuth version with the default login template
      • Users are often logged into multiple applications simultaneously

      Observed behavior:

      • After about one hour, users receive the message "You have been logged out" on the FusionAuth login screen
      • This happens even when the Remember Me checkbox is selected during login
      • User sessions are visible in FusionAuth (though these appear to be primarily for the refresh token flow)
      • No logs in FusionAuth indicate why the user was logged out

      What we've tried:

      • Verified the issue occurs with the unmodified default FusionAuth template
      • Confirmed users have active sessions showing in their profile

      Is there a configuration setting or known issue that would cause FusionAuth to expire user sessions after one hour regardless of the Remember Me selection? How can we keep users logged in for longer periods when they've opted to be remembered?

      posted in Frequently Asked Questions (FAQ) remember-me oauth session device-trust tenant
      F
      FASupportBot