Search Results :

×

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


Get Free Trial

Jira 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 Jira (SP). Here we will go through a step-by-step guide to configure SSO between Jira 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 Jira SAML Single Sign-on ( SSO ) Login into Magento 2

1. Configuring Jira as Service Provider


With the Quick Setup method, you can get the SP metadata from the first step of adding an IDP. The steps to initiate Quick Setup are given below :

  • Click on the Add New IDP button in the Configured IDPs section.
  • Add an IDP - SSO Login with Magento
  • Select the Quick Setup option in the pop-up that opens.
  • Add IDP pop-up - SSO Login with Magento
  • Select your IDP from the list of IDPs displayed

After completing the above steps, you will see the first step of the Quick Setup process. This step deals with setting up your IDP.

1.1: Service Provider Metadata

    Here you will find your SP's metadata. You will need to provide this metadata to your IDP. There are two ways to add this metadata to your IDP.

    miniOrange logo  Import the metadata

    • If your IDP supports importing the metadata, then you can choose By providing a metadata URL to the IDP.
    • Depending on how your IDP accepts the metadata, you can either provide the metadata URL or you can use the Download Metadata button to download an XML file for the same.
    • Quick Setup sp metadata url - SSO Login with Magento

    miniOrange logo Manually add the metadata

      If you wish to add the metadata manually, then you can choose By manually configuring the metadata on your IDP . You will find the following information. These details will need to be provided to your IDP

    • SP Entity ID
    • ACS URL
    • SP Certificate
    • Quick Setup sp metadata manual - SSO Login with Magento
  • The next step of the Quick Setup flow deals with setting up IDP metadata on SP. We will pick this up in the next section of the setup guide.
  • If you have chosen to add your IDP using the Quick Setup flow then you have already completed the first step, which is to add SP metadata to your IDP. Now you can proceed with the second step of the Quick Setup method

1.2: Configuring your Identity Provider

This step is where you will be adding your IDP metadata.

miniOrange logo  Custom IDP name

  • You can enter a name for your IDP int the Custom IDP Name field. In-case your use-case requires multiple IDPs, the SSO button for this IDP on the login page will display the custom name. If you do not wish to add a custom name, simply click on the corresponding drop-down and select no.

  • Quick Setup custom name for IDP - SSO Login with Magento

miniOrange logo  Adding the IDP metadata

There are 3 ways in which you can add your IDP metadata. Use the drop-down to select any of the following methods :

      I have the metadata URL for my IDP
  • Add your metadata URL in the Enter Metadata URL field.

  • Quick Setup metadata url - SSO Login with Magento
      I have a file which contains the metadata
  • Use the Choose File button to browse for your metadata file.
  • Quick Setup metadata file - SSO Login with Magento
      I want to manually configure the IDP

    To configure the IDP manually, you will need to have the following details from your IDP's metadata:

    Single Sign On URL Copy and paste the Single Sign On URL from the Magento IDP Metadata tab.
    IDP Entity ID / Issuer Copy and paste the IDP-EntityID/Issuer from the Magento IDP Metadata tab.
    IDP Signing Certificate Download the Certificate from the Magento IDP Metadata tab and paste it from the file.
  • Single Sign On URL
  • IDP Entity ID
  • IDP Signing Certificate
  • Quick Setup metadata manual - SSO Login with Magento
      Testing the configuration

    Once you have added the IDP metadata, click on Save. If the IDP has been added successfully, then you will see a Test and Get Attributes button. Click on this button to test if the IDP was added successfully.

1.3: User Profile

In this step you will be setting up basic user profile attributes for your SP

    miniOrange logo  Matching a user
  • When the user logs into Jira, one of the user's data/attribute coming in from the IDP is used to search the user in Jira. This is used to detect the user in Jira and log in the user to the same account. You can choose which attribute will be used for this purpose using the drop-down provided.
  • Quick Setup login attribute - SSO Login with Magento

    miniOrange logo  Setting profile attributes

  • Setting up both Username and Email is required if you want to let users register. If the Test Configuration performed in the previous step was successful, then the inputs for the username and email attributes will be drop-downs. These drop-downs will contain all of the user's attribute names sent from the IDP. You will need to select the appropriate options containing the user's username and email.
  • Quick Setup user profiles - SSO Login with Magento

1.4: User Groups - Default groups

  • Select the users's default groups in this step. You can use the Default Groups to do this. Multiple groups can be set as default groups. The user will be assigned to these groups by default after successfully logging in via SSO.
  • Quick Setup default groups - SSO Login with Magento
  • You can enable default groups for All Users or New Users using the Enable Default Groups for drop-down. Select None if you don't want to assign any default group to SSO users.
  • Quick Setup enable default groups - SSO Login with Magento

1.5: Troubleshooting and Support

  • This step marks the end of the Quick Setup flow. In case you faced any issues or encountered any errors while setting up your IDP you can use the steps given in the Troubleshooting section to get in touch with us.
  • You will also be able to see the results of a successful test configuration on this page. This includes the attributes received from your IDP, the SAML request sent and the SAML response received.
  • Adding your IDP via this method will setup basic SSO for your end-users. You can always customise your setup further using the full set of features that we provide. To do this use the Edit drop-down for your IDP in the Configured IDPs page. From here you will be able to access your SP Metadata and customise your User Profile and User Groups settings. You can read more about these settings in the Custom Setup section of this guide.

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 Jira and click on Save button to save your configuration.
  • Tableau Single Sign-On - download xml metadata file and upload it service provider setup tab of magento

    Note: The Relaystate URL is mandatory if you want to use Identity Provider (IDP)/Magento initiated flow.

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.
  • Name User Meta Data
    username user_login
    displayName display_name
    email user_email
    Configure SAML SSO in Jira (SP) with Jira - Tableau Single Sign on

4. SSO Testing

  • Open a new browser or private incognito window and enter your Jira 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 Jira 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

[MO_CONTACT_US]
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