social login guide - magento€¦ · social login guide version 0.1.0–june 2015 configuration go...

17
Website: http://magehit.com Contact: [email protected] Social Login Guide Version 0.1.0June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension. In the Enable field, select Yes to enable the module. In the Title field, put a title to display to title of box Social Login. In the Display Position Default field, select Yes or No to allow display default position in login page, register page, checkout page And in comment of this field have simple code, you can use it copy to any place which you need display. <?php if(Mage::helper('core')->isModuleEnabled('Magehit_Sociallogin')): echo Mage::app()->getLayout()->createBlock('sociallogin/login')->toHtml(); endif; ?> Enter application ID and application key for each social network Same in above screen

Upload: others

Post on 20-Aug-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

Website: http://magehit.com Contact: [email protected]

Social Login Guide Version 0.1.0–June 2015

Configuration

Go to System >> Configuration click to Social Login go to configure the extension.

In the Enable field, select Yes to enable the module.

In the Title field, put a title to display to title of box Social Login.

In the Display Position Default field, select Yes or No to allow display default position in login

page, register page, checkout page And in comment of this field have simple code, you can use it

copy to any place which you need display.

<?php

if(Mage::helper('core')->isModuleEnabled('Magehit_Sociallogin')):

echo Mage::app()->getLayout()->createBlock('sociallogin/login')->toHtml();

endif;

?>

Enter application ID and application key for each social network

Same in above screen

Page 2: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

Google: Click to tab “Social Login Google Options”

In the Enabled field, select Yes or No to allow display Google social network. If Yes is selected,

two field Google API Client ID and Google API Client Secret will be displayed

Then please click to the link below to go to page to create app:

https://cloud.google.com/console#/project

Click on “Create Project” enter “Project name” and click to “Create”

In the next screen click to APIs & auth -> Credentials. Then click to "Create New Client ID".

Page 3: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In the opened popup select “Web application”, click to “Configure consent screen”

In next screen, enter “Product name” and “Homepage URL” then click to “Save”

Page 4: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In the opened popup, enter “Authorized JavaScript origins” and “Authorized redirect URIs”

Page 5: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

Note: If you have enabled HTTPS for your login page, you must also use HTTPS for the “Authorized

redirect URL”: https://youwebsite.com/mhsociallogin/google/connect/

After click to “Create Client ID” it will be redirect to screen success for create project.

Page 6: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

Then you can use Client ID and Client Secret.

Facebook: Click to tab “Social Login Facebook Options”

In the Enabled field, select Yes or No to allow displaying Facebook social network. If Yes is

selected, two field Facebook APP ID and Facebook APP Secret will be displayed

Then please click to the link below to go to page create app:

https://developers.facebook.com/docs/opengraph/getting-started#create-app

In this screen click to “Create a new App ID”, a popup will be opened, enter “Display Name” & “Namespace”

& “Choose a Category” and click to “Create App ID”

Page 7: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In Settings tab on left menu, click to “Add Platform”

A popup opened, click to “Website”

Page 8: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In the next screen, enter “Site URL” then click to “Save Changes”

In Status & Review tab on left menu, click to place red border to publish the app

Page 9: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In tab Dashboard, you can copy App ID and App Secret to use.

Twitter: Click to tab “Social Login Twitter Options”

Page 10: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In the Enabled field, select Yes or No to allow displaying Twitter social network. If Yes is selected,

two field Consumer Key and Consumer Secret will be displayed

Then please click to the link below to go to page create app: https://dev.twitter.com/apps

In this screen, click to “Create New App”. Then will redirect to page, enter “Name” & “Description” &

“Website” & “Callback URL”

Click to checkbox “Yes, I agree”, then click to “Create your Twitter application”

Page 11: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

In “Keys and Access Tokens” tab, you can copy “Consumer Key (API Key)” and “Consumer Secret (API

Secret)” to use.

Linkedin: Click to tab “Social Login Linkedin Options”

In the Enabled field, select Yes or No to allow display linkedin social network. If Yes is selected,

two field Consumer Key and Consumer Secret will be displayed

Then please refer this link below to see detail step by step to configuration application

https://developer.linkedin.com/docs/oauth2

Page 12: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension
Page 13: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension

Some pictures will be displayed at frontend

For default position display.

Page 14: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension
Page 15: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension
Page 16: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension
Page 17: Social Login Guide - Magento€¦ · Social Login Guide Version 0.1.0–June 2015 Configuration Go to System >> Configuration click to Social Login go to configure the extension