FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. mark.robustelli
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 378
    • Best 23
    • Controversial 0
    • Groups 3

    Posts made by mark.robustelli

    • RE: Unable to Obtain Tenant-Signed Access Token for Data-Plane Apps in a Multi-Client, Multi-Application FusionAuth Architecture

      @ezequiel-rebasa said in Unable to Obtain Tenant-Signed Access Token for Data-Plane Apps in a Multi-Client, Multi-Application FusionAuth Architecture:

      prompt=none

      OK a few things. One is it looks like there are a few open issues #521 and #2208 around FusionAuth not supporting the "prompt=none" parameter.

      I may be missing something here, but using lambdas, I as able to hit the login event for both Tenants when logging in. I image you could make the changes you needed there.

      I set up FusionAuth so that I have 2 Tenants Default and Test Tenant.

      In Default there is the FA Login Master application.

      I the Test Tenant I have the ExampleDotNetApp application.

      I set up an Identify Provider named FusionAuth Default Tenant FA Login Master using the FA Login Master application as the (IdP) and enabled it on the Test Tenant ExampleDotNetApp. I created a lambda named "FA Default OpenID Reconcile" of type OpenId Connect reconcile.

      The order the Lamda's were executed were as follows:

      • "FA Default Access Token Populate" of type JWT populate on FA Login Master

      • "FA Default OpenID Reconcile" on FusionAuth Default Tenant FA Login Master

      • "ExampleDotNetApp Access Token Populate" of type JWT populate on ExampleDotNetApp.

      You could use potentially use any of those to inject info you need on the JWT.
      **Please not that Lambda HTTP Connect is only available in an Essentials or Enterprise plan.

      When I add a favoriteColor in the "ExampleDotNetApp Access Token Populate" lambda, I am able to see it in the ExampleDotNetApp application after logging in.

      I would think with the access to those lambdas, you may be able to accomplish what you are trying to do.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Unable to Obtain Tenant-Signed Access Token for Data-Plane Apps in a Multi-Client, Multi-Application FusionAuth Architecture

      This seems like a bit of a complex use case. To start off, let's clarify, FusionAuth allows the creation of multiple Tenants within the AdminUI. However, the user created under each tenant has a unique id. So user1@example.com under the Tenant One tenant is different than the user1@example.com under the Tenant Two tenant.

      That being said, I don't don't think that is the issue. The way I understand this is the Simfinix tenant is in FusionAuth and that is going to be the IdP for all applications. In that case, you will have to set up the Simfinix tenant as an Identity Provider in FusionAuth (Here is a link to a post that shows how this can be done). Then each of your applications in the other tenants will have to use that IdP. Be sure to check out the linking strategies to get the behavior you want. Then you can run the lambdas you need for the applications.

      If anyone has other ideas, please feel free to chime in.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Email verification fails in new incognito mode

      @pocfused said in Email verification fails in new incognito mode:

      https://fusionauth.io/community/forum/topic/1406/link-in-email-verification-not-working-first-time

      Glad you were able to solve your issue.

      As far as the automatically verify the email part. What settings do you have for Applications -> Your Application -> Registration -> Verification strategy? There is a setting Clickable link. Is that what you are after?

      Another thought would simply turning off Verify registrations in the Applications -> Your Application -> Registation tab work for you or do you still want the user to actually have to click on a link? (It would make sense to ensure the user owns the email address.)

      You could also do something like provide a custom template and direct them to your application and then automatically verify them using the APIs. Check out this blog post.

      Good luck.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Why is the kickstart not running when I spin up the docker container?

      First check out the information you are getting from the docker log. Look at the log from the spin up and search for "kickstart." Was the container able to find the kickstart.json file? (In this case yes.)

      If the kickstart file was found, continue searching through the log for a potential error in the running of the kickstart. You might see something like.

      fusionauth-1  | 2025-07-02 05:14:05.177 PM ERROR io.fusionauth.api.service.system.kickstart.KickstartRunner - Failed to execute request to [PATCH][/api/user/registration/000000000001] Status [404]
      fusionauth-1  | Request body:
      fusionauth-1  | {
      fusionauth-1  |   "registration" : {
      fusionauth-1  |     "applicationId" : "e72dca1d-626c-4f4b-8f36-b7c8c2c0af33"
      fusionauth-1  |   }
      fusionauth-1  | }
      fusionauth-1  | 2025-07-02 05:14:05.177 PM ERROR io.fusionauth.api.service.system.kickstart.KickstartRunner - Error response:
      fusionauth-1  | null
      

      This will let you know there was an error and you need to resolve it. In this specific case, The PATCH request should have been a POST. Once that was changed, the kickstart ran fine.

      posted in Frequently Asked Questions (FAQ)
      mark.robustelliM
      mark.robustelli
    • Why is the kickstart not running when I spin up the docker container?

      When trying to create a kickstart, it's not getting used when i run docker compose. How can I fix it?

      posted in Frequently Asked Questions (FAQ)
      mark.robustelliM
      mark.robustelli
    • RE: Populate the First Name and Last Name when logging in with Google.

      @jakub-hajto , you may want to check out the Google Reconcile Lambda documentation. I also found this post that may be useful for you.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Email verification fails in new incognito mode

      @pocfused What versions of FusionAuth are you using? I saw this post that may account for this issue.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov OK. It doesn't seem like the webhook you are using would cause the duplicate logins. I came across this post stating that exchanging a refresh token counts as a login event. I'm wondering if something like the user logins in using a new tab, then goes back to the old tab that triggers a refresh. If that is the case, that could account for the delay between logins and the "Something doesn't seem right" message as that session is no longer valid because of the new login. You might be able to verify this by using a webhook. There is a JWT.Refresh event that you might be able to log somewhere to see if it fires around the time of the duplicate log ins.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov OK, I did some investigating and here is what I have found.

      1. SSO, I saw a reference to a post that mentions using SSO will create multiple session records (but shouldn't necessarily cause multiple login events). Are you using SSO?
      1. Are you using any Lambda's? In some versions (notably 1.31.0), a bug caused the OIDC reconcile lambda to be called twice during certain identity provider logins, which could result in duplicate processing and potentially duplicate events. This was patched in version 1.32.1.

      2. Are you using any Webhooks?

      3. Are you using an external IdP?

      These are just a couple of things to consider.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: SAML CSRF token issue

      @joseantonio Ah OK. That makes sense. I couldn't find much detail on how the saml.csrf cookie works. It does seem plausible that when a new window is open that a value could change that could be causing this problem. If it is causing you problems, it may be work opening a new issue.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: SAML CSRF token issue

      @joseantonio said in SAML CSRF token issue:

      also start the authorization process there

      What do you mean by "Also start the authorization process there?" Manually open a new tab (tab B) and paste in the URL " /oauth2/authorize"?

      If you enable debugging on the SAML tab for the Application in FusionAuth, do the logs indicate anything interesting?

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov Hmm, the 10 sec between the logs does lead me to similar speculation that it is being caused by the user. I would think they would be closer together if it was something the application was doing on its own (although I am not entirely ready to rule that out either).

      That being said, it seems like just guessing unless you can get the application logs and trace the users page views for sure. Is that possible?

      There is a setting in the Tenants for the Session timeout.
      Tenants -> Edit -> OAuth tab -> Session timeout

      Screenshot 2025-06-26 at 8.46.22 AM.png

      Let me know if you are able to log the users page views.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov You won't find the web requests in the FA dashboard, but you can enable debugging for Oauth in the application and see if that gives you more details in the System -> Even Log.

      Screenshot 2025-06-25 at 11.44.29 AM.png

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Customizing FusionAuth User Invitation Flow

      @davidhaven1246 Have you checked out the documentation on using the basic registration form? Will enabling the Self-service registration for the application what you are after? If not, a little more detail on your flow and how you have implemented may help.

      This post may help provide some clarity as well for an invitation flow. Keep in mind, this flow utilizes some paid features of FusionAuth, but you may be able to figure out some work arounds with the community edition.

      This post talks about passing some parameters in a link that may help as well.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov, I see you submitted the FusionAuth log. I didn't approve the post because I thought there might be some info in there you don't want public. I cut some out and will paste it here:

      Screenshot 2025-06-24 at 2.58.56 PM.png

      Screenshot 2025-06-24 at 2.59.22 PM.png

      That is interesting. Would it be possible to get the web server logs and see if there were actual multiple requests.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Doubling of login records

      @sergey_smirnov can you tell us a little about how you have FusionAuth set up? Can you look at your server logs and make sure the page is not being called multiple times? Also, can you share the details of the log entries (be sure to redact private information)?

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Logout with multiple subdomains

      @ext_figuvini after reading your post again, I think I read it differently. The way the SSO logout works is that on logout, FusionAuth calls all the logout urls for each applications. It would seem that you are correct in that creating an application for each subdomain makes sense and would work. (You can create applications through the API so you should be able to automate this.) Can you try this for a few domains and confirm it works?

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: Logout with multiple subdomains

      @ext_figuvini this is an interesting use case. I would think the way you have it configured would work. I would have to recreate you situation to test. Unfortunately it may be a while before I can get that done. I should be able to take a look next week. If anyone has experience with this, please feel free to chime in.

      posted in Q&A
      mark.robustelliM
      mark.robustelli
    • RE: The twoFactorLogin method for the typescript client doesn't return the refreshToken

      @eakpan Awesome, thanks for posting. This may end up helping others. Glad you are able to configure FusionAuth to work for you.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli
    • RE: Startup fails after Postgresql db upgrade

      @atakan thanks for sharing the information.

      posted in General Discussion
      mark.robustelliM
      mark.robustelli