FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. vinicius.campitelli
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Best 2
    • Controversial 0
    • Groups 0

    vinicius.campitelli

    @vinicius.campitelli

    3
    Reputation
    1
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Brazil

    vinicius.campitelli Unfollow Follow

    Best posts made by vinicius.campitelli

    • RE: In the Webhooks API, what are the "complete" events?

      Those events without the complete suffix are sent before we commit the database transaction and the ones with complete are sent after we commit the transaction.

      This means that the actual entities (user and user registration) don't actually exist when the first non-complete events are emitted.

      Take a look at our Calling FusionAuth APIs In Webhooks guide for more details.

      posted in Q&A
      V
      vinicius.campitelli
    • RE: What are the rollback options if I choose to upgrade my instance?

      The Rolling Back From a Problematic Upgrade guide will walk you through the necessary steps.

      We also recommend testing your upgrade in a non-production environment first and closely reviewing release notes to ensure you are aware of how the upgraded version of FusionAuth will interact with your integration.

      posted in Q&A
      V
      vinicius.campitelli

    Latest posts made by vinicius.campitelli

    • RE: In the Webhooks API, what are the "complete" events?

      Those events without the complete suffix are sent before we commit the database transaction and the ones with complete are sent after we commit the transaction.

      This means that the actual entities (user and user registration) don't actually exist when the first non-complete events are emitted.

      Take a look at our Calling FusionAuth APIs In Webhooks guide for more details.

      posted in Q&A
      V
      vinicius.campitelli
    • In the Webhooks API, what are the "complete" events?

      In the Webhooks API, I see there are similar events with a .complete suffix. What are they for?

      • user.create and user.create.complete
      • user.update and user.update.complete
      • user.delete and user.delete.complete
      • user.registration.create and user.registration.create.complete
      • user.registration.update and user.registration.update.complete
      • user.registration.delete and user.registration.delete.complete
      posted in Q&A
      V
      vinicius.campitelli
    • RE: What are the rollback options if I choose to upgrade my instance?

      The Rolling Back From a Problematic Upgrade guide will walk you through the necessary steps.

      We also recommend testing your upgrade in a non-production environment first and closely reviewing release notes to ensure you are aware of how the upgraded version of FusionAuth will interact with your integration.

      posted in Q&A
      V
      vinicius.campitelli
    • What are the rollback options if I choose to upgrade my instance?

      I'm planning on upgrading my FusionAuth instance to a newer version. What can I do if something goes wrong?

      posted in Q&A
      V
      vinicius.campitelli
    • RE: Running FusionAuth behind Apache Traffic Server (Reverse Proxy)

      Hi there!

      I don't have any experience with Apache Traffic Server to be honest but are you running your FusionAuth instance with HTTPS? If so, does Apache Traffic Server trust the FusionAuth certificate?

      I did manage to make it work locally by configuring the reverse proxy like shown on their docs and adding this mapping to the remap.config file:

      map http://fusionauth.local:8080/ http://fusionauth-fusionauth-1:9011/
      

      This will make it proxy requests to http://fusionauth-fusionauth-1:9011/ when it receives a request with Host: fusionauth.local:8080. Then, I added fusionauth.local to my /etc/hosts to point to Traffic Server.

      This was enough to reach the FusionAuth instance, but I still needed to configure some HTTP headers to make it function correctly. Using Traffic Server's header rewrite plugin, I changed the config above to:

      map http://fusionauth.local:8080/ http://fusionauth-fusionauth-1:9011/ @plugin=header_rewrite.so @pparam=fusionauth.conf
      

      And created a fusionauth.conf file with the needed headers:

      set-header X-Forwarded-Host %{CLIENT-URL:HOST}
      set-header X-Forwarded-Port %{CLIENT-URL:PORT}
      

      Please let me know if that works.

      posted in General Discussion
      V
      vinicius.campitelli
    • RE: What happens if I update a user’s email address to an existing one?

      You'll receive an error in both scenarios.

      If you are using the web interface, you'll get a red message saying "Already exists".

      forum-edit-user-email.png

      And if you are trying to use the Update User API endpoint, you'll receive a HTTP 400 Bad Request error:

      forum-edit-user-email-api.png

      posted in Q&A
      V
      vinicius.campitelli
    • What happens if I update a user’s email address to an existing one?

      Using both the UI or the API?

      posted in Q&A
      V
      vinicius.campitelli
    • RE: Do you have a sample integration for iOS and/or Android?

      Even though we don't have specific SDKs for mobile apps, we do have a Flutter quickstart which uses our Dart client library.

      If you want to develop natively, we recommend using AppAuth, which has iOS and Android SDKs and is maintained by the OpenId Foundation:

      • https://github.com/openid/AppAuth-iOS
      • https://github.com/openid/AppAuth-Android

      There's also a FusionAuth Swift Client maintained by the community.

      posted in Q&A
      V
      vinicius.campitelli
    • Do you have a sample integration for iOS and/or Android?

      It seems that there isn't an iOS and/or Android SDK for FusionAuth. Are there any code examples on how to use it on them?

      posted in Q&A
      V
      vinicius.campitelli
    • RE: Passwordless authentication populate JWT token

      Hi there!

      Please make sure that you have selected that Lambda in your Application by navigating to its edit page, going to the JWT tab and choosing it on Access Token populate lambda.

      For instance, my (extremely simple) function looks like:

      function populate(jwt, user, registration) {
        jwt.customClaim = 'gotcha';
        console.debug(JSON.stringify(user)); 
      }
      

      And I received the following access token with that customClaim at the end:

      235241bf-3086-4565-a424-a14398bdcafd-image.png

      posted in Q&A
      V
      vinicius.campitelli