Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PDOIDC and version master

...

When using Additional Information with xIDan authentication and you want to store the user data, you should only request additional data when you consider it is necessary to update your own database. In this case we recommend the following workflow:

  1. First use xID to recognise and authenticate the user without requesting additional data.
  2. After authentication has been done, you should check your local storage to see if it is necessary to request additional data about the user. 
    1. Maybe the user is new in your system.
    2. Maybe the data you already have about the user is outdated.
    3. Or maybe this is the first time the user is executing an action that requires additional user information.

Note that in this scenario it is necessary to make two xID transactions. In the first step If using xID, it might be convenient to apply the XID:unsolicited:nodialog login hint in the first step. 

On the other hand, if you don't want to store the user data, you may want to request Additional Information more often.

One option is to first use xID to authenticate the user without the need for Additional Information. Then, you can request Additional Information at a later time when it is necessary in the workflow, for instance during a checkout prosess. In this use case the the id_token_hint option  option shold be used for the second request,.

Another option is to postpone the authentication of the user until you know it is necessary to request Additional Information. In this case only one transaction will be sufficient.

...

3. Should you prefill or lock the user data in forms?

...

When using Additional Info to complete forms for signing up or buying items and services online, you should consider:

  1. How should the data be presented to the user after finishing the Additional Information dialogues
  2. At what point do you want to store the data in your user data base

There are a few alternatives for this, with different implications for the quality of the data.

  • Prefill forms, enabling the user to edit the data before locking the form. This implies that the data source is the user himself, and not Additional Information.
  • Lock the user data coming from Additional Information. This way you are able to store the information directly. In this case you can offer the user a button for editing his data.

You should consider the experience you want to give the user, and what purpose the user data serves. Maybe the user doesn´t even need to see the actual data, enabling the form to be submitted directly for him through the dialogues of xID. Or maybe you want him to see the prefilled fields in the form and submit the form himself. Imagine how Additional Information enables you to change and simplify the user experience, only using the dialogues that the service provides itself.