Search Results :

×

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

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

  • Sign into your Hubspot dashboard.
  • To enable SSO, choose an account from the list below.
Drupal-HubSpot-Select-the-account-for-sso

  • In the top right corner, click on the Settings icon.
Drupal-HubSpot-Select-the-account-for-sso

  • Select Account Defaults from the left sidebar menu.
Drupal-HubSpot-Click_Account-Details

  • Navigate to the Security tab and click on Set up single sign-on.
Drupal-HubSpot-Click-on-Setup-Single-sign-on

  • From the Set up single sign-on panel in HubSpot, copy the Audience URI(Service Provider Entity ID) and Sign on URL, ACS URL, Recipient, or Redirect.
Drupal-HubSpot-Copy-Drupal-Metaadta

  • Now, paste the previously copied IDP-Entity ID / Issuer, SAML Login URL, and X.509 Certificate from Drupal into the Identity Provider Identifier or Issuer URL, Identity Provider Single Sign-on URL, and X.509 Certificate textfield.
  • IDP-Entity ID / Issuer Identity Provider Identifier or Issuer URL
    SAML Login URL Identity Provider Single Sign-on URL
    X.509 Certificate X.509 Certificate
Drupal-HubSpot-Click-Verify-button
  • In the miniOrange IDP (Identity Provider) extension, go to Applications tab.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot SSO
  • Search for HubSpot in the choose application searchbox and select the application.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot SSO
  • Enter the Application name under SP Name.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot 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 HubSpot SSO
  • Navigate to the Applications tab and click on Metadata settings for the HubSpot application
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot 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 HubSpot Server configuration.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot SSO
  • You will now have 3 options to provide the IDP Metadata to HubSpot 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 HubSpot SSO
  • Navigate to your HubSpot and upload the XML metadata file downloaded.
  • Option 2 - Provide the details manually to the HubSpot.
  • Copy the metadata details according to the table below.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot SSO
    Entity ID You can find this in IDP Metadata as SP-EntityID.
    SAML SSO URL You can find this in IDP Metadata as SAML Login URL.
    Signing Option You can select various signing options from the dropdown list.
    For now select Only Signed Assertions .
    Logout URL (optional) You can find this in IDP Metadata as SAML Logout URL.
    Security Certificate You can find this in IDP Metadata as Certificate .
  • Navigate to your HubSpot and paste the metadata details.
  • Magento SAML IDP  | Login with Magento Users - Magento HubSpot SSO
  • In the miniOrange Magento IDP extension, navigate to the Applications tab and click on Edit settings for the HubSpot application.
  • Magento 2 SAML IDP  | Login with Magento Users - Magento HubSpot SSO
  • Click on Add Attribute button.
  • Magento 2 SAML IDP  | Login with Magento Users - Magento HubSpot 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 HubSpot SSO

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



ADFS_sso ×
Hello there!

Need Help? We are right here!

support