A very simple solution is in place for providing the website with the last name/first name of the contact if they are logged in: the identity provider (IDP) creates a domain cookie with the last name/first name of the contact; this cookie makes this information available for the website if it is deployed in the same domain.
The data is in globally encoded JSON url format.
This way, the website may display in javascript (therefore maintaining the ability to cache the page and assure a good performance) "Welcome Vincent Larchet".
The domain to which this cookie is attached is the domain common to the organisation's website and the purchase funnel, and its name follows the following schema:
stx_contact_{Institution code}_{Sales channel code}_v1
Parameter | Contents |
---|---|
individualTitle | User title |
individualFirstname | User first name |
individualLastname | User last name |
nickname | User nickname |
lang | User language |
Login date, not used | |
expires | Session expiration date, in ISO 8601 format. |
additionalData a. contactNumber b. email |
Additional Data They are encrypted and are not used as part of the SSO. |
The data in additionalData are encrypted as follows:
Details: