SSO into Shopify using Amazon as IDP (OAuth) | Shopify Amazon SSO
Overview
Looking to set up Amazon Single Sign-On (SSO) with your Shopify store? With the Shopify SSO application, you can easily enable secure logins using Amazon as your OAuth provider. This means users can log into your Shopify store with their Amazon account. You can even extend this setup to work with other identity providers like Azure AD (Microsoft Entra ID), Okta, Azure B2C, Office 365, or custom providers.
Our solution also supports advanced features such as user profile attribute mapping and role mapping, making it a breeze to manage user access. In this guide, we’ll walk you through how to configure Amazon SSO for user authentication in Shopify. By the end, your users will be able to log in securely and access your Shopify store with their Amazon credentials.
Want to explore more features of the Shopify Single Sign-On app? Click here to learn more.
Pre-requisites : Download And Installation
- To Setup SSO into Shopify store using Amazon as IDP (OAuth), you will need to add Shopify Single Sign-On (SSO) application on your Shopify Store.
Configuration Steps
Step 1: Get Callback URL (Redirect URI) from Shopify
- Go to your Shopify store & navigate to the App section and click on Single Sign On - SSO login application.
- Click on the Add Identity Provider button to add your IDP.
- Select OAuth 2.0 protocol.
- Now choose Custom IDP from the list of IDPs.
- Copy the OAuth Callback URL and keep it handy as it will be used in further steps.
You have successfully obtained the Callback URL (Redirect URI) from Shopify.
Step 2: Setup Amazon as OAuth Provider
- First of all , go to https://developer.amazon.com/ and signup / login to your Amazon developer account.
- Go to Amazon Apps & Services Developer Portal and click on Login with Amazon as mentioned in the below screenshot.
- Now click on the Create A New Security Profile button on the Login with Amazon dashboard.
- Enter the Application name and other required details and click on the Save.
- Now you will be redirected to your configured applications list. Now click on Show Client ID and Client Secret to get required credentials and keep them handy as they will be used during SSO Configuration in Shopify.
- For your Single Sign-On (SSO) application, click on the gear icon and click on Web Settings.
- Inside the Web Settings, configure the Redirect/Callback URL received from the Shopify Single Sign-On (SSO) application (Step 1) under the ‘Allowed Return URLs’ field and then click on the Save button.
You have successfully configured Amazon as OAuth Provider for achieving Amazon Single Sign-On (SSO) with Shopify for user authentication.
Step 3: Configure Amazon as IDP in Shopify
- Navigate back to the Shopify SSO application and fill out the following fields by refering the below table.
- Provide the required configurations:
- Click on Save.
You have now completed the configuration for Amazon as IDP (OAuth) into your Shopify SSO Application
Step 4: Test Connection
- After saving the IDP configuration, you will be redirected to the Test Connection step. Perform a test connection before mapping or fetching attributes, a test connection ensures that your IDP configuration is correct.
- Click on the Test Connection button.
- On entering valid IDP credentials you will see a pop-up window which is shown in screen below.
- Click on the Fetch Attributes to fetch the IDP attribute.
Step 5: Attribute Mapping
- Click on the + Attribute Mapping button to map attributes between Shopify and your IDP.
- Map the attributes by referring the table below:
- Click on Save.
- Navigate to the application home page. Click More actions against the configured IDP, and click on Make Default to set your IDP as default.
Attribute Name in Shopify | Choose the attribute from the list of predefined attributes |
Attribute Type | IDP Attribute |
Attribute Value | Select the attribute value you have fetched from your IDP |
Step 6: 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.
- You’ll be redirected to the login page of the IDP you configured in the previous step. Log in with your IDP account credentials.
- You’ll be successfully logged in to your Shopify store.
Hence you have configured Shopify Single Sign-On (SSO) using Amazon as IDP and Shopify as a Service Provider. using the miniOrange Single Sign-On (SSO) login application. This solution ensures that you are ready to roll out secure access to your Shopify store using IDP login credentials within minutes.
Additional Resources
Get in Touch
Please reach out to us at shopifysupport@xecurify.com, and our team will assist you with setting up the Shopify Inventory Sync application. Our team will help you to select the best suitable solution/plan as per your requirement.