Search Results :

×

Configure Single Sign On (SSO) between two Magento Sites | Login into multiple Magento sites

Configure Single Sign On (SSO) between two Magento Sites | Login into multiple Magento sites


Magento SAML SP Single Sign On (SSO) extension would allow you to configure SAML 2.0 based Single Sign On (SSO) between your 2 Magento sites. This extension will let you configure one of your Magento Sites as your Service Provider (Magento as SP) and your other Drupal Site as the IdP (Drupal as IdP)

If you have any queries or if you need any sort of assistance in configuring the extenstion, you can contact us at magentosupport@xecurify.com. If you want, we can also schedule an online meeting to help you configure the Magento SAML Service Provoder - SAML 2.0 as SP SSO Login extension and Magento SAML IDP Single Sign-On extension.

Pre-requisites: Download and Installation

Installation using Composer:
  • Purchase the miniOrange SAML IDP Single Sign-On extension from magento marketplace.
  • Go to My profile -> My Purchases
  • Please ensure you are using correct access keys (My Profile - Access Keys)
  • Paste the access keys in your auth.json file inside your project
  • Use the below command to add the extension to your project.
    "composer require {module_name}:{version}"
  • You can see the module name and list of versions in the selector below the extension module name.
  • Run the following commands on command prompt to enable the extension.
  • php bin/magento setup:di:compile
    php bin/magento setup:upgrade

Manual Installation:
  • Download the miniOrange SAML IDP Single Sign-On extension.
  • Unzip all contents of the zip inside the MiniOrange/IDPSaml directory.
  • {Root Directory of Magento} app code MiniOrange IDPSaml
  • Run the following commands on command prompt to enable the extension
  • php bin/magento setup:di:compile
    php bin/magento setup:upgrade

Steps to configure SSO for two or more Magento sites:

1. Setup 1st Magento Site as IdP (Identity Provider) for Magento to Magento SSO

SSO for multiple Magento sites - miniorange img Configure 1st Magento Site as the IdP (Identity Provider)
  • Navigate to the 2nd Magento site.
  • Install and activate the SAML SP Single Sign-On (SSO) login extension on your Magento site which is
    acting as Service Provider.
  • In the miniOrange SAML SP SSO extension, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID and ACS (AssertionConsumerService) URL which are required to configure the Identity Provider.
  • SSO between 2 magento sites - magento 2 sites SSO Login
  • Navigate to the Magento site.
  • Install and activate the SAML IDP Single Sign-On extension on your Magento site which is acting as Identity Provider.
  • Go to the Magento IDP extension, navigate to the Service Provider tab.
  • Enter the values corresponding to the information from the Service Provider.
  • SSO between two Magento sites - Configure setting
  • Click on the Save button to save your configurations.
  • Go to the IDP Metadata tab. Here you can find information for configuring the Service Provider.
  • You can also download the metadata XML file, by clicking on the download link.
  • Login into two Magento sites - download metadata
  • You have successfully configured 1st Magento site as IdP.

2. Configure Magento as Service Provider

  • Copy SAML Entity ID, SAML Single-Sign-On Endpoint URL and x.509 certificate from Federation Metadata document and paste it in IdP Entity ID or Issuer, Single Sign-on Service URL, x.509 Certificate fields respectively in the plugin.
  • IdP Entity ID or Issuer SAML Entity ID in the Federation Metadata document
    Single Sign-On Service URL SAML Single-Sign-On Endpoint URL in the Federation Metadata document
    X.509 Certificate x.509 Certificate in the Federation Metadata document
  • Click on Save button to save all your settings.
  • Azure AD Magento SSO - Azure Single Sign-On(SSO) Login in Magento - federation metadata
  • To check if your Magento as SP is configured correctly, click the Test Configuration button.
  • Azure AD Magento SSO - Azure Single Sign-On(SSO) Login in Magento - federation metadata

3. Attribute Mapping

  • In the Magento IDP extension, navigate to the Attribute Mapping tab.
  • In the User Attributes section, enter the following information and click on Save .
  • You can also add more attributes by clicking on + sign to add attributes.
  • Configure SAML SSO in Zoom (SP) with WordPress - Tableau Single Sign on

4. SSO Testing

  • Open a new browser or private incognito window and enter your Magento URL, which will redirect you to the Magento login screen.
  • Enter your Magento credentials and click the log in button.
  • If you are redirected to your Magento site start page and successfully logged in, your configuration is correct.

Additional Resources


If you are looking for anything which you cannot find, please drop us an email on magentosupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com