FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Custom Registration Fields Missing for Social Logins – Why You Should Listen for registration.update Events

    Scheduled Pinned Locked Moved Solved
    Frequently Asked Questions (FAQ)
    idp identity
    1
    2
    50
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wesley
      last edited by

      My registration form includes custom fields. The values are correctly sent to our backend with the user-create-complete event. Unfortunately, this does not apply to users who register with social login. At this point, the event is dispatched without the supplementary custom content, as it occurs immediately after the social login and before the user is prompted to provide additional registration details. Consequently, I anticipated a user.update.complete event to occur shortly after the 'empty' user.create.complete event, but it did not happen. Please provide guidance on how to troubleshoot this issue.

      W 1 Reply Last reply Reply Quote 0
      • W
        wesley @wesley
        last edited by

        If you believe that you have discovered a bug or issue with FusionAuth, please log an issue below.

        • https://github.com/FusionAuth/fusionauth-issues/issues/new/choose

        To note, you will likely want to be listening to the registration.update webhook for changes to the registration object prompted by additional fields the user needs to have completed based on what is a required field for self service registration.

        In the case of a user entering all these fields "manually" (as part of a registration form) we will create the user and the registration at the same time (thus transmitting all information, including all required registration fields, as part of the user.create and registration.create events).

        However, in the case of a social login, the user and registration will be created after the IdP provider returns information via the user.create and registration.create events. Additional registration will be asked of the user as part of the complete registration process (if there are additional required fields) and that additional information will be transmitted as part of the registration.update event.

        • https://fusionauth.io/docs/extend/events-and-webhooks/events/user-registration-update
        1 Reply Last reply Reply Quote 0
        • W wesley has marked this topic as solved
        • First post
          Last post