Integrating Single Sign-On (SSO) into Shopify allows customers to log in using WordPress as the identity provider (IdP). You need to install an application such as miniOrange's Single Sign-On to achieve this use case. This guide walks you through configuring WordPress SSO for Shopify.
Pre-requisites
- miniOrange Shopify Single Sign-On (SSO) App: Link
- Guide to configure SSO between Shopify and WordPress: Link
- WordPress SAML IdP plugin: Link
Step 1: Configure Shopify as Service Provider in WordPress
- Go to the Shopify Plus SSO app and click Add Identity Provider.
- Select SAML as the SSO protocol.
- Select WordPress as the IdP and click Get Metadata.
- Copy and paste SP details (SP Entity ID, ACS URL, X.509 Certificate) from Shopify into WordPress.
- Save configurations and copy the Metadata URL from WordPress.
Step 2: Configure WordPress as IdP in Shopify
- In Shopify, click Import IDP Metadata.
- Paste the Metadata URL from WordPress and click Import.
- Add an IDP name and save.
Step 3: Test Connection
- Click Test Connection to validate the setup.
- Enter valid WordPress credentials to confirm the connection.
- Map attributes between Shopify and WordPress.
Step 4: Test the SSO Integration:
- Go to the Connect Store tab and copy the Client ID, Client Secret, Post-Logout Redirect URL, and Discovery Endpoint URL.
- In your Shopify admin, go to Settings > Customer accounts.
- Click on Manage in the Identity Provider section.
- Click Connect to provider.
- Enter your identity provider’s name.
- Under Application info, fill in the Discovery endpoint URL, Client ID, Client Secret, Additional Scopes, and Post-logout Redirect URI.
- Click Save.
- Click Test Connection to confirm proper redirection to the customer login page. Log out and back in to verify.
- Click Activate after a successful test.
- Once activated, an Active badge will appear next to the IdP name in your Customer Accounts > Identity Provider section.
By following these steps, you can configure Shopify to use WordPress as an identity provider (IdP) for Single Sign-On (SSO). This allows storefront customers to log in using WordPress as their identity provider, providing a seamless login experience for your customers.
For further assistance, please feel free to contact our support team.