FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. userinfo
    Log in to post
    • All categories
    • E

      Unsolved Adding supplementary user data

      Q&A
      • user data userinfo self hosted • • evanm
      5
      0
      Votes
      5
      Posts
      2.3k
      Views

      A

      @evanm Yes you can use the sub inside of the JWT when making any API call to your backend. In your database this will be a unique Id for the user. You can even get more details about the user from FusionAuth by calling the User endpoints.

      https://fusionauth.io/docs/apis/users#response-1

    • V

      Unsolved Save user address and return address (postal_code, street, number...) in OAuth token

      General Discussion
      • oauth userinfo user data • • vinicius.alfonso
      2
      0
      Votes
      2
      Posts
      3.5k
      Views

      danD

      Hi @vinicius-alfonso !

      As documented here: https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo we don't provide the address info, even if you pass the address scope.

      Per the OpenID spec, section 5.4, it appears that supporting the address scope is optional: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims

      If this is important to you, please file an issue here: https://github.com/fusionauth/fusionauth-issues/issues with details about the use case.

      We are guided by our customers and community when it comes to implementation of issues. Here's our general roadmap guidance: https://fusionauth.io/docs/v1/tech/core-concepts/roadmap

    • danD

      Getting error with OIDC identity provider

      Q&A
      • oidc jwt userinfo • • dan
      2
      0
      Votes
      2
      Posts
      1.6k
      Views

      danD

      That is an encoded (signed) JWT being sent in response to the user info request that the FusionAuth OIDC identity provider is making.

      This is technically allowed in the OIDC spec, but we do not currently support this response type.

      Per spec, the endpoint should support a JSON response which is the default unless the client requests a signed or encrypted response body.

      I would look at how your client is registered and see if it is asking for a JWT userinfo response at that time, and change it to be a normal JSON response. You could also file an issue detailing your needs for FusionAuth to support this user info response type.

      If that isn't an option, you could also look at using a SAML Identity Provider if the remote identity source supports that.