Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, do not hesitate to leave us an email via [email protected]

Created: 12/07/2021 | By: Magenest | Support Portal: http://servicedesk.izysync.com/servicedesk/customer/portal/30 



Introduction

Magento 2 Social Login is an extension developed by Magenest to help customers log in to Magento 2 stores conveniently with their social accounts.

Features For Admins 

Features For Customers

System Requirements

 Your store should be running on Magento 2 Community Edition version 2.2.x., 2.3.x, 2.4.x

 

Configuration

General Configuration 

First, navigate to Stores > Configuration > Magenest > Social Login, you will be able to enable:



Credentials Settings

(plus) On the same page, scroll down to see the Credentials setting section.

(plus) In order to connect the social app to your Magento 2 store, you have to set up the app as follows


Apple ID

(plus) How to set Apple Team ID, Client ID, Key Id and File Key of Apple

To configure the extension, it is required to have an Apple Developer account. If you don't have it, please go to the Apple Developer page to create one. Note that account creation and its approval might take so much time.


  1. Create credentials in developer account

    Sign in to the Apple Developer Portal and click on Certificates, Identifiers and Profiles.

2. Create an App ID

(warning) Please note that description is more for internal use, so you can name it any way you want. The best practice is to use the descriptive naming so that you can easily understand to which website the App ID belongs.

3. Create a Services ID

(warning) Please kindly note that Apple doesn't allow the localhost URLs in this step. So if you enter an IP address like 111.0.0.1, it will fail later in the flow. Please use a real domain name here. Here you can copy the url from Redirect Uri in the Apple section of your Social Login extension.

4. Create a Private Key for Client Authentication

(plus) You will need to create Key ID. In the Apple Developer Account, navigate to the Certificates, Identifiers & Profiles > Keys. Then, click the blue plus icon.


Google+ 

How to set Client ID and Client Secret of Google+

(plus) Go to the Google Developers Console – https://console.developers.google.com/

Select an existing project, or create a new project by clicking Create Project:

In the left sidebar, select APIs under the APIs & auth section.

Find the Google+ API service and set its status to Enable.

Click Create Credentials select OAuth Client ID

Now you can see the Client ID for the web application section. Select Client ID  and Client Secret then fill in Configuration of Google in Backend of Magento 2 store.


In the backend of Magento 2, in the Google+ setting



 

Facebook 


(plus) How to set Client ID and Client Secret of Facebook

Go to the https://developers.facebook.com/apps/ and login at your Facebook developer account.

Click Add a New App button on the top right to create a new app ID. A popup will display as below



In the Facebook for developers Settings, choose Basic, click on the Add Platform button, then enter your site URL.



 

Click on the Save changes button. You will see that there are App ID and App secret, note that you will need these to configure the module in the backend of Magento 2.

Choose Facebook Login > Settings link from the left menu section at the apps page, fill in Valid OAuth Redirect URIs with the Redirect URI obtained from Magento 2 configuration.

Then you have to make your app public to everyone. On the top bar, click on Status, a pop up as below will be displayed. Confirm to make the app public.



 

(plus) In Magento 2 backend, Facebook settings:





Twitter 

(plus) How to set Client ID and Client Secret of Twitter

Go to the Application Management page and login with your Twitter developer account. 

Follow this tutorial article to create a Twitter app http://docs.inboundnow.com/guide/create-twitter-application/ 

 

 
(plus) In Magento 2 backend, Twitter settings:





Pinterest

(plus) How to set Client ID and Client Secret of Pinterest

Go to https://developers.pinterest.com/ and login your Pinterest developer account.

Choose AppCreate app button to create a new application.




The new tab is open with App ID and App Secret, you must add the site URL and Redirect Uri (obtained from the Google+ settings in Magento backend) for the web in the Platforms section.

Use the app ID and app secret to configure the module in the Magento 2 backend. 



(plus) In Magento 2 backend, 




Line

(plus) How to set Client ID and Client Secret of Line

Go to https://developers.line.biz/en/ and log in to your Line developer account.







You will see that there are Channel ID and Channel secret, note that you will need these to configure the module in the backend of Magento 2








(plus) In Magento 2 backend, go to Line configuration.


Amazon

(plus) In Magento 2 backend, go to Amazon configuration.

(plus) How to set Client ID and Client Secret of Amazon


1: Create a New Security Profile


2: Add your Website to your Security Profile






Reddit

(plus) How to set Client ID and Client Secret of Reddit

Go to https://www.reddit.com/prefs/apps and login with your Instagram developer account.

Choose "are you a developer create an application ..." 

Choose Create an application






Reload the page to take the Client ID and Client Secret 


(plus) In Magento 2 backend, go to Reddit configuration.





Instagram

How to set Client ID and Client Secret of Instagram
Go to https://www.instagram.com/developer/ and login with your Instagram developer account.
Choose Manage Clients > Register new Client ID,
In this registration form, fill in the Redirect Uri (you can get this in Magento 2 configuration) in Valid redirect URIs, and remember to unselect the Disable implicit OAuth in the Security tab.




After clicking on Register button, Manage Clients tab is open, you will use the Client ID and Client Secret (in Manage) to configure the module in Magento backend.


In Magento 2 backend, go to Instagram configuration.






LinkedIn

How to set Client ID and Client Secret of LinkedIn   

Go to https://developer.linkedin.com/ and login with your LinkedIn developer account.

Choose My Apps >Create Application




After filling in the necessary information and submit the form, an Authentication tab will be displayed. In the Default Application Permissions, add the Redirect URI obtained from Magento 2 configuration. Then click on Update.



In Magento 2 backend, go to LinkedIn configuration





Monitor Social Login and Manage Social Account

(plus) Manage Social Account

(plus) Monitor Social Login:


Social Login Widget

Social Login Widget Configuration

Title: Set title for the widget

Display Type: Select mode display widget (slider or list icon)



Front end

Social login options





My Social Accounts

Connected Accounts: Show all social accounts connected

Connect With: Listing social account is not connected

Request Password: Sending reset password email 

(star) Error message if the extension couldn’t send reset password email or email customer is generated by this extension.

Connect With: Link new social account with current account


UnlinkUnlink social account with current account

Once the social accounts have been linked you can log in by any of them.

Sharing on social networks

Customers can share the product link via their social network with the sharing options available for Twitter, Facebook, LinkedIn, Pinterest, and Reddit.


Comment on the product using Facebook account

Under the product descriptions, customers can leave a comment using their Facebook account.

 

Social login suggestions on the checkout page

If customers used to login with social accounts on the store, on the checkout page, when they fill in the email address (which is corresponding with their social account email), the suggestion to login with that social account will be displayed.


Display widget - Slider for social login

Display widget - List icon for social login

(star) After user login, this widget will be hidden.



Update



Support




Once again, thank you for purchasing our extension. If you have any questions relating to this extension, please do not hesitate to contact us for support.