Pre-requisites : Download And Installation
Installation using Composer:
php bin/magento setup:di:compile
php bin/magento setup:upgrade
Manual Installation:
- Download the miniOrange OAuth OpenID Connect Single Sign-On extension zip from here.
- Unzip all contents of the zip inside the MiniOrange/OAuth directory.
{Root Directory of Magento} app code MiniOrange OAuth
Run the following commands on command prompt to enable the extension.
php bin/magento setup:di:compile
php bin/magento setup:upgrade
Magento OAuth OpenID Connect SSO extension allows login (Single Sign-On) into Magento with your Azure AD, Azure B2C, AWS Cognito, WSO2, Okta, LinkedIn, Google, Facebook, Slack, Discord or other custom OAuth 2.0 providers [24/7 SUPPORT]
Steps to configure Amazon OAuth & OpenID Single Sign-On (SSO) Login into Magento
1. Setup Amazon as OAuth Provider (Amazon Social Login)
Follow the steps below to configure Amazon as OAuth Provider (Amazon Social Login)
Configure Amazon as OAuth Provider
- First of all , go to https://developer.amazon.com/ and signup / login to your Amazon developer account.
- Go to Amazon Apps & Services Developer Portal and click on Login with Amazon as mentioned in the below screenshot.
- Now click on the Create A New Security Profile button on the Login with Amazon dashboard.
- Enter the Application name and other required details and click on the Save.
- Now you will be redirected to your configured applications list. Now click on Show Client ID and Client Secret to get required credentials and copy and paste them into WordPress OAuth Single Sign-On (SSO) plugin Configuration.
- For your Single Sign-On (SSO) application, click on the settings icon and click on Web Settings.
- Inside the Web Settings, configure the Redirect/Callback URL received from the WordPress OAuth Single Sign-On (SSO) plugin under the ‘Allowed Return URLs’ field and then click on the Save button.
You have successfully configured Amazon as Social Login (OAuth Provider) into your Magento Site.
2. Configuring Magento 2 as OAuth Client
3: Attribute / Custom Mapping (Optional). *This is Premium feature.
- You can map attributes in the Attribute Mapping tab. Only username and email are allowed to be mapped in free version of the plugin. However, in the premium version of the plugin, you can map various attributes coming from your OAuth Provider to the attributes present in your Magento site.
4: Role Mapping (Optional). *This is Premium feature.
- You can specify a default role in the free plugin that will be allocated to all non-admin users when they conduct SSO.
- Go to Attribute/Role mapping tab and navigate to Role Mapping section.
- Select the Default Role and click on the Save button.
By configuring Amazon as an OAuth Provider and Magento as an OAuth Client using our Magento OAuth Client plugin, you have successfully installed Magento Amazon Single Sign-On (SSO). Within minutes, you'll be able to provide safe access to your Magento site utilising Amazon login credentials thanks to this solution.
Additional Resources
If you are looking for anything which you cannot find, please drop us an email on magentosupport@xecurify.com