Skip to main content

Gigya (SAP) Migration Guide

Overview

Gigya (now part of SAP Customer Data Cloud) is a customer identity and access management platform that handles user authentication, profile management, and social login.

Migration Strategy

There are two main types of migration supported:

Migration TypeManaged ByTiming
Bulk MigrationLoginRadiusOne-time migration before go-live
Just-in-Time (JIT)CustomerGradual (1–6 months), based on business needs

Bulk Migration (One-Time Import)

Bulk migration is a one-time process handled entirely by the LoginRadius migration team. Using Gigya's Search API, LoginRadius fetches user records in batches and imports them into your LoginRadius.

Required Configuration

The following parameters must be provided to initiate the bulk import:

FieldDescriptionExample / Value
apiKeyYour Gigya API key<ApiKey>
secretYour Gigya secret key<Secret>
siteOptional site name for multi-site setupsAEnetworks
datacenterGigya data centerus1, eu1
sslEnable secure SSL connectiontrue/false
Rate LimitMaximum allowed API requests to Gigya Search API<Rate Limit>

Data Mapping Table

You’ll need to supply a data mapping between Gigya fields and LoginRadius fields for a smooth import. Below is a sample mapping:

Gigya FieldLoginRadius Field
isVerifiedEmailVerified
isActiveIsActive
UIDUid
profile.emailUserName
profile.firstNameFirstName
profile.lastNameLastName
loginIDs.emailsEmail.Primary
loginIDs.unverifiedEmailsUnverifiedEmail.Secondary
identities.countryCountry.Code
profile.stateState
createdCreatedDate
lastUpdatedUpdatedTime
lastLoginLastLoginDate
passwordPassword
profileAddresses1
data.termsCustomFields.terms
data.register_referer_urlCustomFields.register_refer_url
data.register_siteCustomFields.register_site

You must confirm all mappings during the migration setup phase. This includes both standard and any custom or additional fields you may be managing, which can also be mapped to the appropriate LoginRadius fields.

Password Hash Types

Gigya stores user passwords in various formats such as MD5, PBKDF2, SHA1, etc..

LoginRadius supports most formats, but the exact hash type and salt usage must be provided to configure password validation correctly.

Social Identity Migration (Optional)

LoginRadius can also migrate social identities. This involves:

  • Extracting the identities array from each Gigya user profile.

  • Mapping social providers to the LoginRadius format.

Bulk Migration Rate Limits

PlatformAPIRate Limiting
GigyaSearch APISubject to SAP CIAM limits

Bulk Migration Key Points

  • This is a one-time operation before your LoginRadius project goes live.

  • Includes all active and verified user data.

  • Passwords (MD5, PBKDF2, etc.) are migrated as-is.

  • Optional support for social identities.

  • LoginRadius handles data transformation and API rate limiting.

Just-in-Time (JIT) Migration

The customer team is responsible for JIT migration, which occurs during user login or registration. It’s useful for gradually moving active users without migrating everyone at once.

Key Features

  • Occurs at the time of user login or registration.

  • Does not interrupt the user experience.

  • Gradual migration over 1 to 6 months, depending on business goals.

  • Ideal for large databases with inactive or infrequent users.

Implementation Steps for Just-In-Time (JIT) Migration

Steps for Just-In-Time (JIT) Migration using the API

This JIT migration approach enables users to transition seamlessly from Gigya to LoginRadius without needing to reset their passwords, ensuring a smooth and transparent login experience.

1. User Login Attempt

When a user attempts to log in:

2. If User Exists in LoginRadius

Proceed with the standard LoginRadius authentication flow using:

3. If the User Does Not Exist in LoginRadius

Authenticate the user against Gigya using their provided credentials (email/username and password) via the Gigya API:
Gigya Authentication API Docs

Upon successful authentication, retrieve the user profile including:

  • Email

  • First Name

  • Last Name

  • Custom Attributes (if any)

4. Create a User in LoginRadius

If Gigya authentication succeeds:

  • Use the LoginRadius Account Create API to register the user.

  • Include:

    • User identity (email/username/phone)

    • Password (the one provided during login)

    • Additional profile fields retrieved from Gigya

Note: This API requires your API Secret and should only be called securely from your backend.

5. Authenticate User in LoginRadius

After creating the user in LoginRadius, log them in using the same password they initially provided:

This ensures a seamless experience—the user won't even notice they were migrated.

6. If Password Validation Fails in Gigya

If Gigya doesn't validate the credentials:

  • Prompt the user to:

    • Retry login, or

    • Reset their password via LoginRadius:

  • Once they receive the reset link:

7. Future Logins

From this point on:

  • The user is fully managed by LoginRadius.

  • All future authentication and profile operations will be handled exclusively via LoginRadius.

Note: Ensure all API calls involving secrets are made securely from your backend infrastructure.

Rate Limit Overview

PlatformAPIRate Limiting
LoginRadiusAccount/Auth APIsBased on your LoginRadius Acceptable Use Policy

Requirements for JIT Migration

To implement JIT migration, you’ll need:

  • Your LoginRadius API Key and Secret

  • A script or middleware that:

    • Intercepts the login flow

    • Pulls user data from Gigya

    • Transforms and pushes the data into LoginRadius

  • Error handling for:

    • Rate limits

    • Password standards.