• 0 Votes
    2 Posts
    87 Views
    danD
    Hiya, We do plan to support these, but there's no committed timeline. While there has been some news about quantum algorithms from Google and the NSA, we've been monitoring this area for years. This post is a high level overview of how PQC and FusionAuth interact. The tl;dr is: we're aware of this and the impact it might have we'll be delivering functionality to address this but we have not committed to a release date The good news is that harvest-now-decrypt-later doesn't affect many FusionAuth use cases, because access tokens should have short lifetimes and refresh tokens are opaque and not signed. If your access tokens are long lived, revisit that decision; here's documentation on how to configure the lifetime. PQC crypto algorithms (ML-DSA) are available in the standard JVM that FusionAuth runs on. We're also tracking adding PQC algorithms to our JWT library. We're aware that there may be issues around token size, especially if you store the token in a cookie rather than using the BFF pattern. There are discussions in the standards bodies about hybrid keys to ease the transition such as this draft that we are following closely. Additionally, FusionAuth Cloud uses PQC compatible algorithms for TLS. You can test your deployment or FusionAuth instance using a tool like this one. This is not guidance applicable to all situations. If you have questions and have a support contract, please open a support ticket. If you do not, please ask a question in the forum.
  • 0 Votes
    1 Posts
    27 Views
    No one has replied
  • 0 Votes
    2 Posts
    288 Views
    danD
    @tkates solved this and it was not a FusionAuth issue. Details in the GH bug report they filed: https://github.com/FusionAuth/fusionauth-issues/issues/3604
  • Can I run FusionAuth in Heroku?

    Moved Solved Q&A heroku deployment
    3
    1 Votes
    3 Posts
    3k Views
    danD
    We now support heroku along with other options. Docs here: https://fusionauth.io/docs/deploy/production/marketplaces/heroku
  • Permify Pull Request

    Unsolved Q&A
    3
    0 Votes
    3 Posts
    424 Views
    J
    @dan excellent. thank you
  • 0 Votes
    2 Posts
    552 Views
    mark.robustelliM
    @pragnesh-nonghanvadra If you can share your configuration settings and reproducible steps, i will try to go through it.
  • P2/Sev2

    Unsolved Q&A
    2
    0 Votes
    2 Posts
    279 Views
    mark.robustelliM
    @paakhi-iyer GET /api/jwt/issue authenticates with a JWT, not an API key. It returns 401 if the Authorization header is missing or invalid, or if the access token is expired. I did find some changes that are within your version range of changes: 1.60.0 token validation changes: Some existing, unexpired access or ID tokens may no longer be considered valid by FusionAuth. The gty and use claims moved from the JWT header to the body. New reserved claims were added, so lambdas that modify them need review. Endpoint use enforcement (1.60.x): FusionAuth now ensures endpoints only accept tokens suited to their intended use. A GitHub issue showed a token from the Login API being rejected by /oauth2/userinfo with "The token is not suitable for the requested use." 1.69.0 key verification tightening: JWT verification is now strictly scoped to configured keys. If you rotated signing keys recently, tokens signed by an older key will fail unless that key is added to the tenant or application's verification key lists (accessTokenVerificationKeyIds and idTokenVerificationKeyIds). This is the most likely candidate if your 401s began right after the upgrade and you rotate keys. (1.69.0 Guide) Suggested checks Look in Key Master and your tenant and application JWT settings. Confirm every key that still signs valid tokens is listed in the verification key fields. Check whether the 401 callers are sending expired tokens or an API key instead of a JWT. Check whether any lambdas add, remove or modify gty, use, tty or auth_time claims. Check whether the failing tokens were issued before the upgrade, since some unexpired tokens may now be invalid. Refreshing the token should resolve that.
  • Is 1.68.0 affected by the account-takeover vulnerability fixed in 1.69.2?

    Unsolved Q&A
    2
    0 Votes
    2 Posts
    491 Views
    mark.robustelliM
    @scott-m1dtya Which issue are you talking about specifically. I don't think FusionAuth lists what versions an issue was introduced. Upgrading to the latest version is definitely the way to go.
  • 1 Votes
    4 Posts
    5k Views
    A
    It looks like Elasticsearch may be causing the main issue since the container keeps restarting and consuming a high amount of CPU. I would recommend checking the Elasticsearch logs using docker logs ubuntu_search_1 and verifying that your server has enough RAM and CPU resources. Also, make sure Elasticsearch is healthy before troubleshooting FusionAuth connectivity. Since localhost:9011 returns a 302 redirect to /login, FusionAuth appears to be responding locally. Checking your firewall and cloud security group rules for port 9011 would also be a good next step. Hope this helps!
  • Does FusionAuth Support UMA Grant and Token Exchange (RFC 8693)?

    Moved Unsolved Q&A
    3
    0 Votes
    3 Posts
    2k Views
    joshuaJ
    RFC 8693 is now supported as of 1.70.0
  • 0 Votes
    2 Posts
    853 Views
    danD
    Unfortunately, lambdas won't help here. FusionAuth never exposes the password anywhere lambda code can access it, so you can't write a lambda that validates complexity. You do have several other options, each with tradeoffs: Low complexity for everyone, with MFA for franchise managers. Configure the tenant with low complexity rules and require MFA for the franchise manager group using the MFA lambda. The MFA lambda can be combined with most of the other options below. Low complexity for everyone, with an IdP for franchise managers. Add an identity provider pointing to a different FusionAuth instance/tenant or a corporate directory, and have franchise managers authenticate there. The FusionAuth instance can have more complex password requirements. Add a Login Validation lambda that denies login for users in the franchise manager group unless they authenticated through that IdP. Modify the theme to hide the IdP button on the normal login page. Pass an idp_hint on the authorization URL for everyone in the franchise manager group. Passwordless for restaurant staff. Let restaurant staff log in without a password and set higher complexity rules at the tenant level for everyone else. Two tenants with separate applications. Create tenant A (low complexity) and tenant B (high complexity). Have the restaurant staff application use tenant A's ID and the franchise manager application use tenant B's ID. You could also use a universal application to represent the application. Two tenants with a connector. Again, tenant A is low complexity and tenant B is high complexity. Set up a connector from tenant B to tenant A, with MFA lambda rules in tenant B for franchise managers. Configure the connector to not migrate users. Have all users log in to the application in tenant B, which checks tenant A for restaurant staff. All of these will work, but they have tradeoffs. Some may increase your MAU count, and some may add latency. Why not per-application password rules? As an aside, I don't expect FusionAuth to ever support different password rules per application, because it would lead to confusing user experiences: If the staff app requires 10 characters and the manager app requires 15, and a user registers in the staff app, what happens if/when they log in to the manager app? Do we deny the login? Force a password change? If the staff app requires 10 to 20 characters and the manager app requires 25 to 35, no single password can satisfy both. Would a user have to change their password every time they switch between the two apps? Can you migrate users between applications?
  • trying to avoid issues with platform authenticators

    Unsolved Q&A
    2
    0 Votes
    2 Posts
    464 Views
    danD
    Hi @david-kircheis, The cross-platform authenticator passkey functionality is not available for the licensed community edition, only the platform passkey functionality. The options I see for your use case are: talk to sales about an enterprise license, if it fits your business model. We do offer non-profit discounts in certain circumstances. use platform authenticators with all their limits move to a different identity provider While we'd love to have FusionAuth used by everyone, we can't offer all features to every plan level. We recognize this limit means FusionAuth isn't the right solution for every authentication problem. I appreciate you using FusionAuth now and hope it remains helpful to you.
  • 403 calling Hosted Backend /app/refresh API

    Unsolved Q&A
    3
    0 Votes
    3 Posts
    570 Views
    A
    @bryan-robinson I'm getting the 4503 even though I'm running the caller and FusionAuth on localhost for dev testing purposes. The caller is on localhost:8080 and FA is on localhost:9011. According to the documentation for app/refresh, this should work. Any ideas?
  • 0 Votes
    3 Posts
    585 Views
    A
    @bryan-robinson We are not using DPoP at all, and the app/me call is being made transparently by the FusionAuth Vue SDK, so is not something we can change. That is the default when setting up the VueJS SDK. I've isolated this to the upgrade to 1.60.0. It has the issue. 1.59.1 works fine. I suspect it's due to the new tty claim that is included in the at and idt tokens, which did not exist before. The external JWT reconcile API only returns at and rt tokens. It does not return an idt. So we were setting the at value for the idt cookie. But now that the two tokens can be differentiated, I suspect that this causes the issue. Was trying to use the Hosted Backend app/refresh API to get refreshed tokens, including an idt, but that is returning a 403-Forbidden for some reason. Documentation on what is required for that API call is rather sparse Says it needs the app.rt cookie, which we have set...but seems it needs more.
  • Automating 2FA Login via API without SMTP: How to retrieve or inject OTP?

    Unsolved Q&A
    2
    0 Votes
    2 Posts
    670 Views
    B
    Hey @sameer-syedmanzur! If you're on any paid plan, I'd recommend looking at our Generic Messengers. When the generic messenger is hit, it fires off a request to any HTTP endpoint you want. You can then use any method you need to to get the code to the user or post it back to the API to complete the 2nd factor. If you're on the Community edition (free version), that's not accessible to you, though. For solution on the community edition, check out this doc if you haven't read it yet: https://fusionauth.io/docs/lifecycle/authenticate-users/multi-factor-authentication#build-your-own-interface That's how you set up a custom interface for TOTP. That would be the best-practice way of doing 2fa without smtp on community edition. I haven't done anything TOTP-based for testing, but I'd wager there's a TOTP application with an API that could handle this. Depending on the use case, it might also make sense to set up something simple with something like MailTrap to do testing via SMTP instead of going through all this. That may be a problem depending on the use case, though
  • 0 Votes
    2 Posts
    702 Views
    danD
    Not as a single feature, but doable with some glue code. FusionAuth has no built-in “inactivity warning” workflow or scheduler for this. It does give you the pieces: a lastLoginInstant on every user, a user search API, an email send API, and user deactivation. You wire them together with a small scheduled job (cron, Lambda, GitHub Action, etc.) outside FusionAuth. Set up a daily job that does three things: Finds users whose last activity was about 55 days ago and who haven’t been warned yet. Sends them the warning email and records that you did. Finds users who are 60+ days inactive and marks them dormant. If a user logs in during the 5-day window, their lastLoginInstant updates and they drop out of the step 3 query automatically. Use the User Search API with an Elasticsearch/OpenSearch query on lastLoginInstant (milliseconds since epoch). This needs the Elasticsearch/OpenSearch search engine. The database search engine doesn’t support range queries on this field. POST /api/user/search { "search": { "numberOfResults": 500, "query": "{\"bool\":{\"must\":[{\"range\":{\"lastLoginInstant\":{\"lt\":1760000000000}}}],\"must_not\":[{\"term\":{\"data.dormantWarningSent\":true}}]}}" } } Compute the lt value in your job as now - 55 days (so replace 1760000000000). Users who have never logged in won’t have a lastLoginInstant, so decide whether to fall back to insertInstant for them. You can use FusionAuth to send the email or your own system. If you choose the former, create an email template in Customizations → Email Templates, then call the Send Email API with the matching user IDs: POST /api/email/send/{emailTemplateId} { "userIds": ["<id1>", "<id2>"], "requestData": { "daysInactive": 55, "daysUntilDormant": 5 } } Your template body can then use FreeMarker: Hi ${user.firstName!"there"}, As part of our routine account security measures, we monitor accounts for inactivity. We haven't detected activity on your account in the last ${daysInactive} days, and it is scheduled to be marked dormant in ${daysUntilDormant} days unless activity is detected. Log in to keep your account active: https://login.example.com requestData values are available at the top level of the template, so you can reuse the template if you change the thresholds later. After a successful send, patch the user to record that they've been notified so you don't send them multiple emails: PATCH /api/user/{userId} { "user": { "data": { "dormantWarningSent": true, "dormantWarningSentAt": 1760000000000 } } } The must_not clause in the search query above then skips them. If the user logs in, clear the flag so they can be warned again in the future. A user.login.success webhook receiver that uses the API is a clean place to do that. As far as what you actually do when the user is marked dormant, you have two options: Deactivate the user. DELETE /api/user/{id} (soft delete) sets active=false, which blocks login. To reactivate, call PUT /api/user/{id}?reactivate=true. Deactivation also fires a user.deactivate event that you can consume via webhook to notify downstream systems. Flag only. Set user.data.dormant = true and handle it in your app where you might do a step-up or force an account recovery. This is gentler and keeps the account usable after a step-up. For a true “close the account” outcome, deactivate first. Hard-delete (?hardDelete=true) only after a retention period that satisfies your compliance requirements. Caveats: lastLoginInstant updates when a user authenticates. Silent token refreshes using an existing refresh token don’t necessarily count as logins, so a user with a long-lived session in your app could look inactive. If that matters, track your own activity timestamp in user.data (updated by your app or a webhook) and query that instead. Test this against your own setup before relying on it. user.lastLoginInstant is global to the user within a tenant. Each registration also has its own lastLoginInstant (user.registrations[].lastLoginInstant). If “inactive” should mean inactive in a specific application, query on that field and filter by applicationId. Run the job daily and use a window, not an exact day match, so a missed run doesn’t skip anyone. Page through search results (startRow) rather than assuming one page covers everyone. Test with a user whose lastLoginInstant you’ve backdated in a non-production tenant. Make sure your Send Email API key has only the endpoints it needs (search, send email, patch user, deactivate).
  • 1 Votes
    1 Posts
    601 Views
    No one has replied
  • Data analysis of login/user data from FusionAuth

    Solved Q&A insights analytics
    2
    0 Votes
    2 Posts
    1k Views
    danD
    You want to use FusionAuth webhooks to push data into your pipelines. I imagine the JSON will differ, so you might need to modify your mapping layer, but we should be able to provide the data you expect. Here's our general webhook documentation. Some events you might be interested in: User login success which includes the authentication method User login failure Two factor method added User create Where possible, avoid transactional webhooks because you're using this for analytics and transactional webhooks impact workflow duration negatively. You can also use the Search API to get adhoc counts/true things up, but it won't necessarily have the richness of data of the webhooks.
  • FusionAuth security vulnerability: fixed by 1.69.4

    Unsolved Q&A
    2
    0 Votes
    2 Posts
    749 Views
    mark.robustelliM
    @damien For information on releases, please be sure to check out the release-notes. While it may not list which versions the issues were introduced in, it is recommended to stay on the latest version to avoid potential issues.