-
Notifications
You must be signed in to change notification settings - Fork 5
Magento 2 Setting Up RaaS in Your Gigya Account
Before you can use RaaS in Magento 2.1, you have to configure the following settings in your Gigya account.
📝 Note
RaaS is a premium package that requires separate activation. If it is not part of your site package please contact your Gigya Implementation Consultant.
If you are already using Magento's user management you will need to migrate your Magento user database to RaaS. Please contact your Gigya Customer Engagement Executive to perform this migration.
Magento requires that the customer email be unique, and you will need to adjust RaaS Policies configuration accordingly. Go to the Policies page in Gigya admin console. You need to be logged in to access this page. The Policies page may also be accessed by clicking Settings in the upper menu and then Policies in the left menu:
-
Set the Login Identifier to "Email" - this will make sure that Email is your sites unique login identifier.
-
Set the Link Accounts Support to "All identities" - This will make sure uniqueness of email in the system. If any account on the system uses the email entered by the user as a login identifier, the user is prompted to link the social network to that account.
📝 Note:
Note that the screen-set names used in your Gigya Extension code are the default screen-set names currently used for new sites in Gigya.
If you have changed your screen-set names in Gigya or created new ones you want to use, you must change the Extension code accordingly (see How to Customize Screen-Set Options).
In addition:
If your site was added in the Gigya console before February 2015, you need to upgrade your screen-sets in Gigya console.
If your screen-sets were defined before September 2014 they may use different screen-set names, i.e. "Login-Web" and "Mobile-Login". See earlier screen-set versions for more information.
By default, Gigya's Link Account screen offers the option to create a new account with the same email address (instead of merging the new customer into the existing account that has the same email). Since Magento requires a unique email, this link would lead to an error, because it allows creating a second account with the same email.
To remove this option:
-
In the Gigya console, go to the Screen-sets page.
-
Locate the Default-LinkAccounts screen-set and click the UI Builder link.
-
In the UI Builder's Screens list (on the left), select the Link Account screen.
-
Locate the message "To create new account, click here" at the bottom of the screen (see screenshot) and remove it by clicking the "X" button next to it.
-
Click the Save button.
The First Name and Last Name fields are required in order to create a Customer object in Magento.
To set these fields as required in the RaaS forms:
-
Log into the Gigya Admin Console and go to the Screen-sets page.
-
Locate the Default-RegistrationLogin screen-set, and click its UI Builder link.
-
Set First Name and Last Name to be required user registration fields:
-
In the UI Builder window's Screens list , select the Registration screen.
-
Click on the First Name to select it. Its details will appear on the right under Properties.
-
In the Schema (below the properties) check the Required checkbox.
-
Click on the Last Name to select it and then check the Required checkbox for that.
-
In the UI Builder's Screens* list, select the Registration Completion screen.
-
Drag a new textbox into the screen (from the Controls on the bottom left).
-
Click on the textbox to select it, its details will appear on the right under Properties.
-
Change the Mapped Field to Profile->firstName and change the Label to First Name.
-
Repeat 1-3 for the Last Name field (Profile->lastName).
-
-
Click Save.
📝 Note:
To test your RaaS settings, go to your front-end site and click the Login link. This link should pop up the RaaS login screen.
- Overview Magento 2 Gconnector For Gigya Integration
- Version And Compatibility
- Installation Gigya Extension Installation Guide
- Installing The Gigya Extension For The First Time
- Step 1 Get The Extension
- Step 2 Create A Gigya Application Key And Application Secret
- Step 3 Encrypt Your Application Secret
- Generate A Key
- Encrypt The Secret
- Disabling The Gigya Extension
- Configuration
- Basic Configuration
- Roles And Permissions Best Practice
- Raas Screen Sets
- Configure Display Of Configured Screen Sets
- Configure Screens Using Code
- Gigya Registration And Login
- Gigya Update Profile
- How To Add Raas Screen Sets To Other Pagesthemes
- How To Customize The Screen Set Options
- Using Gigya Screens For Guest Checkout
- Field Mapping
- Default Mapping
- Create A Custom Mapping
- Reference The Json File
- Offline Sync
- Use Hook To Transform Data
- Session Management
- Session Synchronization Between The Platforms
- Session Expiration
- Uid Based Sync
- Multi Site Support
- Disable The Gconnector For A Site In A Group
- Logs
- Single Sign On Sso
- User Deletion
- Troubleshooting
- General
- Magento Related Troubleshooting