Search Results :

×

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

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

  • Open a new browser tab or window, Log in to your Nextcloud account as Account Admin.
  • Click on the top right corner. Select Apps.
  • Nextcloud Magento Single Sign-On | Admin view Nextcloud as SP

  • Search for SSO & SAML Authentication. Click on Download and Enable.
  •  Nextcloud Magento Single Sign-On | Download and Enable SAML app Nextcloud as SP

  • Click on the top right corner, and select Settings. Find SSO & SAML Authentication on the left side, and open it.
  •  Nextcloud Magento Single Sign-On |  SSO and SAML Authentication

  • Click on Use built-in SAML Authentication, click on Add Identity Provider.
  •  Nextcloud Magento Single Sign-On |  Select built-in SAML Nextcloud as SP

    Switch back to the tab / window with the IDP Metadata. Enter the information into the corresponding fields.

    Attribute to map the UID to EMail
    Identifier of the IDP Entity Copy and paste the IDP Entity ID.
    URL Target of the IdP Copy and paste the SAML Login URL.
    Certificate Download the Certificate. Open it in notepad. Copy and paste the content here.
     Nextcloud Magento Single Sign-On |  Enter IDP info Nextcloud as SP

  • Once this is done, click on Download metadata XML to download the SP metadata XML file.

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

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



ADFS_sso ×
Hello there!

Need Help? We are right here!

support