Skip to content

Commit 02bfc33

Browse files
authored
Add shop support (#10534)
* Add files via upload * Add files via upload * Add files via upload * Update 0.md
1 parent 079faa3 commit 02bfc33

File tree

9 files changed

+67
-0
lines changed

9 files changed

+67
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Connect Apps to Shop
3+
connection: Shop
4+
image: /media/connections/shop.png
5+
seo_alias: shop
6+
toc: true
7+
public: true
8+
index: 39
9+
description: Learn how to add login functionality to your app with Shop. You will need to generate keys, copy these into your Auth0 settings, and enable the connection.
10+
topics:
11+
- authentication
12+
- connections
13+
- social
14+
- shop
15+
contentType: how-to
16+
useCase:
17+
- add-login
18+
- customize-connections
19+
- add-idp
20+
---
21+
<%= include('../../../snippets/social/shop/0') %>
22+
<%= include('../../../snippets/social/shop/1') %>
23+
<%= include('../../../snippets/social/shop/2') %>
24+
<%= include('../../../snippets/social/shop/3') %>
25+
<%= include('../../../snippets/social/shop/4') %>
26+
<%= include('../../../snippets/social/shop/5') %>
27+
<%= include('../../../snippets/social/shop/6') %>
28+
<%= include('../_quickstart-links.md') %>

media/connections/shop.png

17.2 KB
Loading

snippets/social/shop/0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Connect Apps to Shop
2+
3+
The Sign in with Shop social connection allows users to log in to your application using their Shop account.
4+
5+
By default, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0. Optionally, you can [disable user profile data synchronization](https://auth0.com/docs/users/configure-connection-sync-with-auth0) to allow for updating profile attributes from your application.

snippets/social/shop/1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Prerequisites
2+
3+
Before you begin, sign up for a Shopify store with all necessary requirements fulfilled.

snippets/social/shop/2.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Steps
2+
3+
To connect your app to Shop, you will:
4+
5+
1. Set up app in Shop
6+
2. Create and enable connection in Auth0
7+
3. Test connection

snippets/social/shop/3.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Set up app in Shop
2+
3+
In your Shopify store admin, open the Shop sales channel settings and activate your Sign in with Shop API client. Once activated, this will reveal your Client ID and Secret; make note of these.
4+
5+
Add your Auth0 redirect URL: `https://${account.namespace}/login/callback`
6+
7+
8+
::: panel Find your Auth0 domain name
9+
If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus`.auth0.com`. For example, if your tenant name were `exampleco-enterprises`, your Auth0 domain name would be `exampleco-enterprises.us.auth0.com` and your return URL would be `https://exampleco-enterprises.us.auth0.com/login/callback`. (If your tenant is in the US and was created before June 2020, then your domain name would be `https://exampleco-enterprises.auth0.com`.)
10+
11+
12+
If you are using [custom domains](https://auth0.com/docs/custom-domains), your <dfn data-key="callback">redirect URI</dfn> will have the following format: `https://<YOUR CUSTOM DOMAIN>/login/callback`.
13+
:::

snippets/social/shop/4.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Create and enable connection in Auth0
2+
3+
Set up the Shop social connection in Auth0. Make sure you have the generated **Client ID** and **Client Secret**.
4+
5+
Configure the integration with your Client ID and Client secret, choose whether to sync user profile attributes at each login, and select the Applications that should use this Connection.

snippets/social/shop/5.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Test connection
2+
3+
You're ready to [test your connection](https://auth0.com/docs/dashboard/guides/connections/test-connections-social).

snippets/social/shop/6.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Troubleshooting
2+
3+
For more information check out [Sign in with Shop documentation](https://help.shopify.com/en/manual/online-sales-channels/shop/sign-in-features).

0 commit comments

Comments
 (0)