Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Integration of self-developed Web applications and SAP Customer Data Cloud Identity services

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today's article continues with Aviva, Queen of Cloud Times of SAP Chengdu Research Institute, to share with you some experiences about using SAP Customer Data Cloud.

Previous Aviva articles are available at the end of this article.

Here is her text.

Hello, everyone. I'm Aviva. I am not responsible for the development of Gigya in SAP, just out of personal interest. After reading the help documentation of Gigya on the SAP official website in my spare time, I have done some very simple Hello World-level examples of the website login access function provided by Gigya, which I would like to share with you here.

SAP bought Israeli startup Gigya in 2017, and now Gigya, also known as SAP Customer Data Cloud, is one of the five clouds of SAP C/4HANA. Therefore, when SAP Customer Data Cloud and Gigya appear in different contexts below, we can think that these two groups of words express the same meaning.

The article is divided into two parts. The first part briefly introduces the business of SAP Customer Data Cloud, and the second part introduces how to use some services in SAP Customer Data Cloud in your website with a demo.

Customer Data Cloud is functionally divided into three modules:

SAP Customer Identity

SAP Customer Consent

SAP Customer Profile

First of all, let's take a brief look at these three functional modules.

SAP Customer Identity

Provide cross-channel and cross-device user identification, provide unified registration, authentication, login and other user experience on Web, mobile devices and Internet of things devices.

In addition, SAP Customer Identity provides single sign-on, password-free authentication, and the ability to securely identify online visitors from any access side. By grabbing customer authorized identity data, SAP Customer Identity can promote personalization, real-time marketing, sales, and service while respecting consumer privacy and meeting data protection regulations. Gigya has done a lot of work on security to ensure that user data is not stolen and attacked.

SAP Customer Consent

Provide out-of-the-box workflow to help enterprises clearly put forward the terms of service, privacy policy, marketing communication, and other consent requests that require user authorization, and so on.

Every time an enterprise updates its terms of service and privacy policy, SAP Customer Consent automatically triggers a new user consent request and records the consent options and authorization time of each user. Enterprise administrators can access the history of each authorization in the whole life cycle of users, so as to effectively solve the government's privacy supervision and audit.

In the enterprise's digital ecosystem, users' privacy permissions are enforced on each channel to meet key data privacy requirements by synchronizing user profiles with enterprise applications and services. SAP Customer Consent provides a cross-platform and cross-device user privacy setting service center, which enables users to transparently manage their preferences and control the access rules of their private data throughout the life cycle of using the product, thus helping enterprises and customers to establish a transparent and trustworthy relationship.

SAP Customer Profile

By grabbing the first-hand data of authorized users, SAP Customer Profile establishes rich user profiles for users, so that every application and service of the enterprise can use them seamlessly.

The user information of various applications and services in the enterprise is open to administrators through a unified platform. at the same time, it can also provide a variety of user data analysis reports for marketers, as well as data support for customer segmentation and personalized marketing programs.

Here is a simple demo to show you how to integrate SAP Customer Identity into our own Web application.

I developed a Web application based on nodejs. Nodejs + express framework is used in the background and SAP UI5 is used in the front end.

Log in to SAP Customer Data Cloud's RAAS (Registration-as-a-Service) platform.

First create site and applications on the RAAS platform.

The Site Domain used for local development and testing can be filled in as localhost:

Create a new Application:

After creating Site and Application, Site automatically generates the corresponding API Key:

Application produces User Key and Secret.

Secondly, introduce Gigya Web SDK into the index.html of the Web application:

Then use SAP UI5 to develop the login page login.view.xml and controller login.controller.js of the Web application.

Gigya provides a default user login page that can be used in our Web application with only two lines of code. This convenient way of use embodies the meaning of RAAS.

Embed a div tag in the xml view:

Add to the initialization function implemented by the controller:

Gigya.accounts.showScreenSet ({screenSet: 'Default-RegistrationLogin', containerID: me.byId (' LoginGigya') .sId})

Gigya's login and registration service has been added to our own Web application.

In addition to using the default login screen settings, we can of course customize the login page and registration process directly on the Gigya platform.

Gigya provides UI Builder, which allows you to use default controls in UI Builder, drag and drop to generate different login pages (similar to SAP Cloud for Customer UI Designer), directly modify html and css, modify login and registration processes, and so on.

Gigya defines many different types of events that are triggered by user interactions, such as user login, button clicks, and so on. The application can register to listen for events of interest and execute code when they are received.

Here is a simple code to listen for user login and logout events:

Var me = this;gigya.accounts.addEventHandlers ({onLogin: me.login, onLogout: me.onLogout, context: me}); after logging in, simply print some strings on the console. Login: function (response) {console.log ("LOGIN!"); console.log (response); *

For all events and event-related parameters supported by Gigya, you can refer to the user's manual:

Https://developers.gigya.com/display/GD/Events

In the Web application background, we can also use Rest API to access Gigya-related services.

For example, to get the user's Account information in the background, you need to use Site's API Key and Application's User Key and Secret to call Rest API.

These are just some of the simplest exercises based on the services provided by Gigya. For more information about the features of Gigya, please go to the official website to check it. There are more details:

Https://developers.gigya.com/

Thank you for reading.

Aviva has two other articles:

Hyperledger Fabric on SAP Cloud Platform

Another innovative case of the combination of SAP C/4HANA and artificial Intelligence and augmented reality (AR) Technology

For more original Jerry articles, please follow the official account "Wang Zixi":

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report