Shopify Single Sign-On (SSO) solution using Discord as Identity Provider (IDP)


Configure Single Sign On (SSO) login into Shopify store using Discord as an Identity provider (IDP). miniOrange allows Discord to act as an IDP (Identity Provider), which allows users to Single Sign-On (SSO) into Shopify using Discord Credentials. Our application is compatible with all the SAML / OAuth compliant Identity Providers. Here this document will guide you through the easy step-by-step process of configuring SSO login into Shopify store with Discord using OAuth protocol. This solution ensures that you are ready to roll out secure access to your Shopify store using Discord within minutes.

Pre-requisite : Single Sign On - SSO Application

To configure SSO with Discord as OAuth Provider, you will need to install the miniOrange Single Sign On - SSO login Application on your Shopify store:

miniOrange Provides Secure Single Sign-On (SSO) access to your Shopify applications(both plus and Non plus Stores).


Step-by-Step guide to configure Shopify Single Sign-On (SSO) using Discord as OAuth Provider

Step 1: Configure Shopify as Service Provider (SP) in Discord

  • Log in to Discord Console & click on New Application
  • Discord as IDP - Single Sign-On (SSO) for Shopify - Create App
  • After clicking on the New Application button on Discord portal it will show you the popup for providing a name to the application. Click on the Create button after providing the application name.
  • Navigate to the Oauth2 section. Copy Client ID & Client Secret from Discord console.
  • Discord as IDP - Single Sign-On (SSO) for Shopify - Client ID and Client Secret
  • To get the Redirect URL:
    • Go to your Shopify store and click on Setup IDP button in the top left in navigation bar.
    • Discord as IDP - Single Sign-On (SSO) for Shopify - setup idp section
    • From the left navigation bar select Identity Provider.
    • Discord as IDP - Single Sign-On (SSO) for Shopify - add identity provider
    • Copy the Callback URL as Redirect URL required for next step.
    • Discord as IDP - Single Sign-On (SSO) for Shopify - choose Oauth
  • Back in the Discord dashboard, navigate to the OAuth2 section & Add Redirect button for adding the callback URL and click on the Save button.
  • Discord as IDP - Single Sign-On (SSO) for Shopify - Redirect URL

Step 2: Configure Discord as OAuth 2.0 IdP Provider in Shopify.

  • Go to your Shopify store and click on Setup IDP button in the top left in navigation bar.
  • Discord as IDP - Single Sign-On (SSO) for Shopify - setup idp section
  • From the left navigation bar select Identity Provider. Click on Add Identity Provider and select OAuth.
  • Discord as IDP - Single Sign-On (SSO) for Shopify - add identity provider
    Shopify sso using Discord - choose OAuth
  • Enter the following values.

  • IdP Name Custom Provider
    IdP Display Name Choose appropriate Name
    OAuth Authorize Endpoint https://discordapp.com/api/oauth2/authorize
    OAuth Access Token Endpoint https://discordapp.com/api/oauth2/token
    OAuth Get User Info Endpoint (optional) https://discordapp.com/api/users/@me
    Client ID From step 1
    Client secret From step 1
    Scope identify email

3. Testing SSO for your Shopify Store

  • Go to your Shopify Store login page.(https://<your-shopify-storedomain>/account/login)
  • Click on the login button you customized earlier.
  • select project google oauth provider
  • You’ll be redirected to the login page of the Discord you configured in previous step. Log in with your Discord account credentials.
  • You’ll be successfully logged in to your Shopify store.

Hence, you have successfully configured Single Sign-On (SSO) into Shopify by using Discord as an OAuth IdP Provider. Now your users will be able to securely log into your Shopify store using their existing Discord login credentials.

Choose your preferred Identity Provider and start setting up SSO for Shopify right away


Additional Resources


If you are looking for anything which you cannot find, please drop us an email on shopifysupport@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