Search Results :

×

Configure SSO into your Applications using Shopify Store Credentials


Users can sign in to your Shopify Store using their Shopify Store login credentials when using the Shopify Store as IDP Application. Once a user has logged in to one Store, they can access other applications, including the Shopify store, with a single click - there is no need to log in or sign up again. You can map any user profile attribute to your Application for a login experience that uses their current Shopify Store credentials if desired. Users can use their store credentials to log into any application that supports SAML, OAuth, JWT, or API authentication methods.


Get the Setup guide to configure Single Sign-On into your application using Shopify as IDP


Pre-requisite: Shopify Store as IDP - Application

To configure SSO into your application with Shopify as IDP, you will need to install the miniOrange Store as IDP - SSO Login Application on your store

miniOrange Provides Secure Single Sign-On (SSO) access to your application using Shopify Store as IDP.

Step-by-Step Guide for Configuring Shopify as an Identity Provider (IDP) Application

1. Install and Setup the Application

  • Go to your Shopify App Store and search for miniOrange. Now click on the Store as IDP-SSO Login to Apps application.
  • Shopify as IDP - Login using Shopify credentials - add application
  • Click on the Install button to install the application on your Shopify store.
  • Shopify as IDP - Login using Shopify credentials - install application
  • Accept the recurring charges shown by our App. After that, you’ll be automatically redirected to the Application home page. In case you are not auto-redirected, follow the steps given below.

2. Configure Application in Store as IDP application

  • Go to your Shopify store, click on the Apps tab, and select Store as IDP-SSO login application.
  • Shopify Single Sign-On (SSO) in wordpress oauth provider
  • From the left navigation bar select Apps and click on Add Application button.
  • Shopify as IDP - Login using Shopify credentials - add application
  • Select the protocol that your Application supports in which you want to integrate SSO through Shopify as an Identity Provider

Configure Single Sign-On (SSO) Settings for SAML Apps:

  • Click on the SAML tab and search for your Application.
  • Shopify as IDP - Login using Shopify credentials - search for SAML App
  • If you can't find your application in the below list then select Custom APP and you can also submit your app request to add the application as a pre-integrated app.
  • Shopify as IDP - Login using Shopify credentials - select Custom app
  • Once you select the Custom App option, you will find a window similar to:
  • Shopify as IDP - Login using Shopify credentials - SAML App Window
  • Either you can Copy and Paste all the attributes of the Service Provider (SP), Or you can directly upload an XML file containing relative information.
  • To upload the file, follow these steps: Click on the Import SP Metadata button.
  • Shopify as IDP - Login using Shopify credentials - Import SP Metadata
  • You will get a popup with the following options.
  • Shopify as IDP - Login using Shopify credentials - Enter SP Metadata

    Here is the description of what each field means (present on the app configuration window).

    SP Entity ID SP Entity ID is used to identify your app against the SAML request received from SP. Make sure the SP Entity ID or Issuer is in this format: httpss://www.domain-name.com/a/[domain_name]/acs.
    ACS URL Assertion Consumer Service URL defines where the SAML Assertion should be sent after authentication. Make sure the ACS URL is in the format: httpss://www.domain-name.com/a/[domain_name]/acs.
    Single Logout URL A Single Logout URL defines where the user should be redirected after receiving the logout request from SP. You can mention your application logout page URL here. Make sure the Single Logout URL is in the format: httpss://mail.domain-name.com/a/out/tld/?logout.
    Audience URI Audience URI, as the name suggests, specifies the valid audience for SAML Assertion. It is usually the same as the SP Entity ID. If the Audience URI is not specified separately by SP, leave it blank.
    NameID NameID defines what SP is expecting in the subject element of SAML Assertion. Generally, NameID is the Username or Email Address
  • NameID Format defines the format of subject element content, i.e. NameID. For example, Email Address NameID Format defines that the NameID is in the form of an email address, specifically “addr-spec”. An addr-spec has the form local-part@domain, has no phrase (such as a common name) before it, has no comment (text surrounded in parentheses) after it, and is not surrounded by “<” and “>”. If NameID Format is not externally specified by SP, leave it unspecified.
  • You can Add Attributes to be sent in SAML Assertion to SP. The attributes include the user’s profile attributes such as first name, last name, fullname, username, email, custom profile attributes, and user groups, etc.
  • The next section on the same window is for adding a policy for your app.
  • Shopify as IDP - Login using Shopify credentials - Add policy
  • Select a Group Name as Default for making Shopify as an Identity Provider.
  • Give a policy name for the Custom App in Policy Name.
  • Select the Login Method as Password for using Shopify as an Identity Provider
  • Click on the Save button to add a policy for Apps (Single Sign-On).

Configure Service Provider (SP)

  • Now navigate to the Select >> Metadata option against your configured application.
  • Shopify as IDP - Login using Shopify credentials - Get IDP Metadata
  • Now click on Show Metadata Details under INFORMATION REQUIRED TO AUTHENTICATE VIA EXTERNAL IDPS section. Copy down these data as they will be used in configuring Shopify as SP in your IDP.
  • Shopify as IDP - Login using Shopify credentials - show IDP Metadata
    Shopify as IDP - Login using Shopify credentials - Copy IDP Metadata
You have completed the Shopify side configuration.

3. Restrict access to specific users

  • Navigate to the Additional Settings section and enable the Attribute Blocking feature.
  • Shopify as IDP - Login using Shopify credentials - Attribute Blocking
  • Click on the + button. Enter the Attribute Name (for example: email) and Attribute Value. Select the Condition and click on Save.
  • Shopify as IDP - Login using Shopify credentials - Enter Attribute Value

4. Keep SSO on Forget Password and User Account Creation

  • Go back to your Shopify Store Admin Dashboard and navigate to Online Store >> Themes. Click on the Customize button.
  • Shopify as IDP - Login using Shopify credentials - theme customization
  • Click on the App embeds option and enable the Store as IDP Login option as shown in the below image. Click on Save.
  • Shopify as IDP - Login using Shopify credentials - enable login widget
  • When a user clicks on the forgot password button or creates a new user account on the Shopify Store during the SSO process, they will be automatically logged in to the Service provider after successfully changing their password or creating a new account.

5. Test the Single Sign On

  • Initiate Single Sign On (SSO) from the configured Application.
  • It will redirect you to the Shopify Store Login Page if the user is not already logged in to the store.
  • Enter Your Shopify Store customer credentials.
  • After Successful authentication, you’ll be redirected back to the configured Application and you’ll be logged in.


Free Trial

If you don't find what you are looking for, please contact us at shopifysupport@xecurify.com or call us at +1 978 658 9387 to find an answer to your question about Shopify Single Sign-On (SSO).

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