Search Results :

×

Login With Magento Users | Magento SAML IDP SSO

Login with Magento Users using the miniOrange Magento SAML IDP Extension to seamlessly enable Single Sign-On (SSO) across your connected applications. This powerful solution allows you to use your Magento store as an Identity Provider (IDP), letting users authenticate into external platforms using their existing Magento credentials. Whether you're integrating with another website, LMS, CRM, or enterprise system, our extension simplifies the login process, improves security, and enhances user experience—all while keeping your Magento user base as the central point of authentication.

This guide will help you integrate Magento as a SAML 2.0 Identity Provider (IdP) using the miniOrange Magento SAML IDP (Identity Provider) Extension. Magento SAML IDP extenstion gives you the ability to use your Magento credentials to login into any required SAML compliant Service Provider. Here we will go through a step-by-step guide to configure Login using Magento credentials.

  • 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:upgrade
  • 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:upgrade

  • To get the SP metadata details, log in to your Service Provider.
  • Add New IDP to configure Single Sign-On (SSO) with Magento.
  • Copy the Entity ID and ACS URL. You will require this while configuring the SSO in Login with Magento Users - Magento SAML IDP Extension.

  • In the miniOrange IDP (Identity Provider) extension, go to Applications tab.
  • Magento SAML IDP  | Login with Magento Users - App
  • Search for Custom SAML in the choose application searchbox and select the application.
  • Magento SAML IDP  | Login with Magento Users | Select App
  • Enter the Application name under SP Name.
  • Login with Magento Users - SP Name
  • Now, enter the SP Entity ID or Issuer and ACS URL copied earlier and save the details.
  • Entity ID and ACS URL Magento SAML IDP - Login with Magento Users
  • Navigate to the Applications tab and click on Metadata settings for your application
  • Magento SAML IDP - Login with Magento Users - Metadata
  • Here, you can find the Identity Provider Metadata URL /XML Metadata or endpoints like IDP Entity ID, SAML Login URL, SAML Logout URL (Premium Feature), Certificate. You can also download the IdP Metadata XML file which will be used for your Service Provider configuration.
  • Magento SAML IDP - Login with Magento Users - SP Details
  • You will now have 3 options to provide the IDP Metadata to your Service Provider by downloading the XML Metadata, Metadata URL or providing the detials manually.
  • Option 1 - Download the XML Metadata.
  • Download the XML Metadata by clicking it on Download XML Metadata button.
  • Magento SAML IDP  | Login with Magento Users - XML Metadata
  • Navigate to your your Service Provider and upload the XML metadata file downloaded and click on the Fetch Metadata button.
  • Option 2 - Metadata URL.
  • You can also copy the Metadata URL and provide it to your service provider to fetch the metadata.
  • Magento SAML IDP  | Login with Magento Users - SSO between Two Magento Sites
  • Option 3 - Provide the details manually to the your Service Provider.
  • Copy the metadata details according to the table below.
  • Login with Magento Users - Magento SAML IDP
    IDP-EntityID / Issuer IDP-EntityID / Issuer
    Single Sign On URL SAML Login URL / Passive Login URL
    SAML X509 Certificate Certificate
  • Navigate to your your Service Provider and paste the metadata details.

IdP-Initiated SSO Link

  • An IdP-Initiated SSO link is a URL provided by the Identity Provider (IdP) that initiates the login process directly from the IdP side.
  • You can copy the SSO link and place it as a button or hyperlink as required.
  • When the user clicks the SSO link:-
  • If the user is already logged in at the IdP, they are seamlessly authenticated and redirected to the Service Provider (SP) application without any login prompt.
  • If the user is not logged in, the IdP prompts them to authenticate first. After successful login, the user is redirected to the SP application.
  • In the miniOrange Magento IDP extension, navigate to the Applications tab and click on Edit settings for the your Service Provider application.
  • Magento 2 SAML IDP  | Login with Magento Users
  • Click on Add Attribute button.
  • Magento SAML IDP SSO - Add Attribute
  • Add the attribute name you want to send to your service provider and select the attribute from the dropdown menu and click on Save Button to save changes.
  • Login with Magento Users - Attribute Mapping - Magento SSO

    You have successfully configured the SAML SSO between Your Service Provider as SAML SP and Magento as SAML IDP (Login Using Magento Users).



    Please reach out to us at magentosupport@xecurify.com, and our team will assist you with setting up the Magento SAML IDP SSO Extension. Our team will help you to select the best suitable solution/plan as per your requirement.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support