Search Results :

×

SAML Single Sign-On (SSO) in Moodle (SP) | Magento – Moodle SSO Login

SAML Single Sign-On (SSO) in Moodle (SP) | Magento – Moodle SSO Login


Get Free Trial

Moodle SAML Single Sign-On (SSO) with Magento as SAML IdP . Magento SAML IdP extenstion gives you the ability to use your Magento credentials to login into Moodle. Here we will go through a step-by-step guide to configure SSO between Moodle as SP (Service Provider) and Magento as IDP (Identity Provider).

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 Moodle SAML Single Sign-on ( SSO ) Login into Magento 2

1. Configure Moodle as Service Provider

  • Go to Moodle site.
  • Install and activate the miniOrange SAML SP module on your Moodle site, which acts as a Service Provider.
  • Go to the miniOrange SAML SP module, navigate to the Service Provider Metadata tab. Here, you can find the Service Provider metadata such as SP Entity ID , ACS (Assertion Consumer Service) URL, Audience URI and NameID format which is required to configure the Identity Provider.
  • moodle SAML SP single sign on ( sso ) upload metadata

    miniorange img Instructions:

  • Go to Magento site.
  • Install and activate the miniOrange SAML IDP extenstion ( Magento as SAML IDP ) on your Magento which is acts as an Identity Provider.
  • Go to the Magento SAML IDP extension, navigate to the Service Provider Settings tab.
  • Enter the values corresponding to the information from the Service Provider. Refer to the table below.


  • SP Entity ID or Issuer Copy the SP EntityID from the Service Provider Setup tab in miniorange SAML SP module from your moodle site.
    ACS URL Copy the ACS URL from the Service Provider Setup tab in miniorange SAML SP module from your moodle site.

    Magento saml idp service provider
  • Click on the Save Configuration button to save your configurations.
  • Go to the IDP Metadata tab. Here you can find information for configuring the Service Provider ( SP ).
  • You can also download the metadata XML file, by clicking on the Download XML Metadata button.
  • Magento saml idp upload metadata

2. Configure Magento as Identity Provider

  • In the miniOrage SAML Identity Provider extension, go to Service Provider settings tab of the extension.
  • Provide the required settings (i.e. SP Entity ID/Issuer, ACS URL) find to your Service Provider Moodle and click on Save button to save your configuration.
  • Moodle Single Sign-On - download xml metadata file and upload it service provider setup tab of magento

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 Moodle (SP) with WordPress - Moodle Single Sign on

4. SSO Testing

  • Open a new browser or private incognito window and enter your Moodle 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 Moodle start page and successfully logged in, your configuration is correct.

Additional Resources



Why Our Customers choose miniOrange Magento Single Sign-On (SSO) Solutions?


24/7 Support

We offer 24/7 support for all Magento solutions. We ensure high quality support to meet your needs.

Sign Up

Customer Reviews

See for yourself what satisfied customers have to say about our reliable Magento solutions.

Reviews

Extensive Setup Guides

Easy and precise step-by-step instructions and videos to help you configure within minutes.

Watch Demo


We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Provisioning, and much more. Please contact us at

 +1 978 658 9387 (US) | +91 97178 45846 (India)   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