Architecture: Overview

The Customer Profile Service solution provided by GK is a central place for handling customer profiles.

Customer Profile Service

The CPS consists of both the customer account (authentication/activation) and the customer profile (metadata/profile link).

  • The customer account can exist without the customer profile in special on-boarding cases, where we create just an account with credentials, but create profile data later.
  • The customer profile can exist without a customer account in special on-boarding cases, where we create a customer profile instead of a consumer.
  • One account authorizes and leads to one profile only.
  • One profile can have multiple accounts, but typically just one is active (unblocked).
  • Profiles could be linked together, e.g. a family account or a customer is a buyer for a company.
  • A customer account entity includes a relation (CustomerID) to the customer profile.

Authentication Service

Authentication Service refers to the authentication of a customer (different from the registration).

Based on the examples below, we can, for example, authenticate a customer from MCA and will get an access and refreshToken. In these cases, we do not have the option to register a customer.

The Customer Profile Service can be integrated with the following:

  • Keycloak - The Customer Profile Service provides the option to register and login with an account over Keycloak. Keycloak is integrated on the backend side and does not need to be integrated on the client side. You can also register an anonymous customer.
  • Integration with 3rd Party Identity Provider - Principally the same as the social media integration in #3.1
  • SAP Customer Data Cloud - The Customer Data Cloud is provided by SAP. In this case, the registration, login, and token handling will be overtaken by the Gygia SDK also provided by SAP.

All these methods provide an accessToken, which can be used to authenticate the customer against the API Gateway.

Link for further details: CPS - Architecture Variants - 09000600001

Databases & Data Models

The Customer Profile Service persists customer profiles to the GK master data DB if configured to use GK MD as the master CRM. CPS will not use this persistency layer if an external adapter, such as the MCA adapter or SAP adapter, is configured. In addition, CPS internally uses CustomerDO and related DO as defined in the GK data model http://svn.es.gk-software.com/dav/erstudio/Spec/GKR_EDM_trunk/index.htm.