Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    1. Home
    2. damien
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    damien

    @damien

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    damien Unfollow Follow

    Latest posts made by damien

    • RE: Upcoming Google Identity Provider changes

      @spencer this post talks about upgrading to 1.44.0 or later, but 1.44.0 is not actually released yet? Right?

      posted in Announcements
      D
      damien
    • How to get from a JWT payload to registration.data?

      Each of the applications that I intend to create registrations for already have their own identifiers. I suspect this is very common.

      After authenticating my user, and confirming that they have an active registration to use the target application, I then need to know their corresponding "application account ID".

      For example, if my application is "bank account", I need to know which "account number" is owned by user@example.com

      From the docs, my understanding is that the expected/recommended way to handle this is to store the account number in registration.data like:

      {
        "account number": 12345
      }
      

      And maybe I also declare that they're a primary account owner via roles.

      I saw in the docs that a JWT includes roles within its payload, so I can easily find out that my user@example.com is a primary account owner of my "bank account" application - but what is the recommended way to discover that they own "account number 12345" ?

      Do I literally need to resort to the registration API?

      posted in Q&A
      D
      damien