📖 Documentation

Setup Guide

Complete documentation for your IT Department

Overview

SecurePie SSO enables Single Sign-On for your Shopify store, allowing customers to log in using their existing social or enterprise accounts. This guide covers installation, configuration, and best practices.

1 App Navigation

After installing SecurePie SSO, you'll find these sections in the app:

2 Adding an SSO Provider

Click "Add Provider" to start the setup wizard. The process follows these steps:

1. Choose Provider Type 2. Provider Details 3. Configuration 4. Test & Activate

Step 1: Select Authentication Protocol

ProtocolUse Case
SAML 2.0Enterprise SSO with SAML protocol (Microsoft Entra ID, Okta, Salesforce, OneLogin)
OAuth 2.0Social login and OAuth providers (Google, Microsoft, Facebook, Auth0, Custom)

Step 2: Choose Your Provider

Popular OAuth Providers (Pre-configured)

Other Options

Step 3: Provider Details

Enter the Display Name – this is the name shown on the login button (e.g., "Sign in with Acme Corp").

Step 4: Configuration

For Custom OAuth / OIDC Providers:

⚠️ Important: First, add the Redirect URI below to your OAuth application settings (Google Cloud Console, Microsoft Azure, etc.)

Redirect URI (copy this to your OAuth app):

https://sso.securepie.com/api/auth/oidc/custom_oauth/callback
Client ID *
Your Custom OAuth application Client ID
Client Secret *
Your Custom OAuth application Client Secret
Issuer URL / Domain *
The OIDC issuer URL (must support /.well-known/openid-configuration)
Example: https://auth.example.com

Click "Show Advanced Settings" for additional configuration options if needed.

For SAML 2.0 Providers:

Entity ID / Issuer *
Your Identity Provider's Entity ID
SSO URL *
SAML Single Sign-On URL from your IdP
Certificate *
X.509 Certificate from your Identity Provider

Step 5: Test & Activate

Test the configuration before going live. Once verified, activate the provider.

3 Enable Theme App Extension

⚠️ Important: You must enable the Theme App Extension to display SSO login buttons on your store!

Follow these steps to enable the SSO buttons on your storefront:

  1. Go to Shopify Admin → Online Store → Themes
  2. Click Customize on your active theme
  3. In the theme editor, click App embeds (bottom-left panel)
  4. Find SecurePie SSO in the list
  5. Toggle it ON to enable
  6. Click Save
Tip: After enabling, the SSO buttons will automatically appear on your login (/account/login) and registration (/account/register) pages.

4 Managing SSO Providers

In the SSO Providers tab, you can view and manage all configured providers:

ColumnDescription
ProviderName and type (SAML/OIDC)
StatusActive or Inactive
LoginsNumber of successful authentications
Last UsedDate of last login
ActionsDisable, Edit, Delete
Quick Tips:

5 Security Features

FeatureDescription
OAuth 2.0 / SAML 2.0Industry-standard secure authentication protocols
Token EncryptionAll tokens encrypted at rest
No Password StorageCredentials handled by identity providers
Session ManagementConfigurable session timeouts
Audit LogsTrack all login events in Users tab

6 Customer Experience

How It Works for Customers

  1. Customer visits your store's login page
  2. Clicks "Sign in with [Provider]" button
  3. Authenticates with their existing account
  4. Automatically redirected back to your store, logged in
  5. Account created/linked automatically

Account Linking

7 Testing

Recommended Test Flow:
  1. Configure at least one SSO provider
  2. Enable the Theme App Extension (Step 3)
  3. Open your store in an incognito/private window
  4. Navigate to /account/login
  5. Verify SSO buttons are displayed
  6. Click a login button and complete authentication
  7. Check the Users tab in SecurePie to verify the login was recorded
  8. Verify account creation in Shopify Admin → Customers

8 Troubleshooting

IssueSolution
SSO buttons not showingEnable Theme App Extension (Step 3), clear browser cache
Login failsVerify provider configuration, check browser console for errors
"Redirect URI mismatch" errorAdd the exact Redirect URI from Step 4 to your OAuth app settings
Customer not createdCheck Shopify customer permissions for the app
SAML errorsVerify certificate hasn't expired, check Entity ID matches
OIDC discovery failedEnsure Issuer URL supports /.well-known/openid-configuration

9 Data & Privacy

Need Help?

Our support team is here to assist you with setup and configuration.

Email: support@securepie.com
In-App Chat: Click "Compose your reply" in the app
Response Time: Within 24 hours