Search Results :

×

SAML Single Sign-On (SSO) in ASP.NET (SP) | Magento – ASP.NET SSO Login

Login into ASP.NET using Magento user credentials. This guide will help you integrate Magento as a SAML 2.0 Identity Provider (IdP) and ASP.NET as a Service Provider (SP) 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 ASP.NET (SP). Here we will go through a step-by-step guide to configure SSO between ASP.NET Server as SP (Service Provider) and Magento as IDP (Identity Provider).

  • 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 ASP.NET.
  • Click on Add New IDP to configure ASP.NET Single Sign-On (SSO) with Magento.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Go to Service Provider Settings tab.
  • Copy the Entity ID and ACS URL. You will require this while configuring the SSO in miniOrange Magento extension.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO

  • In the miniOrange IDP (Identity Provider) extension, go to Applications tab.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Search for ASP.NET in the choose application searchbox and select the application.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Enter the Application name under SP Name.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Now, enter the SP Entity ID or Issuer and ACS URL copied earlier and save the details.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Navigate to the Applications tab and click on Metadata settings for the ASP.NET application
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • 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 ASP.NET Server configuration.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • You will now have 3 options to provide the IDP Metadata to ASP.NET server 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 - Magento ASP.NET SSO
  • Navigate to your ASP.NET and upload the XML metadata file downloaded and click on the Fetch Metadata button.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Option 2 - Provide the details manually to the ASP.NET.
  • Copy the metadata details according to the table below.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
    IDP-EntityID / Issuer IDP-EntityID / Issuer
    Single Sign On URL SAML Login URL / Passive Login URL
    SAML X509 Certificate Certificate
  • Navigate to your ASP.NET and paste the metadata details.
  • Magento SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • In the miniOrange Magento IDP extension, navigate to the Applications tab and click on Edit settings for the ASP.NET application.
  • Magento 2 SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • Click on Add Attribute button.
  • Magento 2 SAML IDP  | Login with Magento Users - Magento ASP.NET SSO
  • 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.
  • Magento 2 SAML IDP | Login with Magento Users - Magento ASP.NET SSO

    You have successfully configured the SAML SSO between ASP.NET as SAML SP and Magento as SAML IDP.



ADFS_sso ×
Hello there!

Need Help? We are right here!

support