๐Shopify Multipass
Allow your customers to stay logged in across Sphere and your other digital spaces by implementing Shopify Multipass
Last updated
Allow your customers to stay logged in across Sphere and your other digital spaces by implementing Shopify Multipass
Last updated
Please be aware. The Multipass function is only available to Shopify Plus plans
Creating a connected experience for logged in customers can lead to greater conversion by not forcing a customer to log in multiple times. With Multipass you can forward user data from your resources through the Sphere platform.
Example:
Customer goes to www.myshop.com and creates an account/logs in to an existing account
From www.myshop.com the logged in user clicks a link to visit your ecommerce sphere at www.sphere.myshop.com and is still authenticated as part of the redirection process with multipass.
Go to your Shopify store admin panel and enable the Multipass function under the 'Checkout' options.
You may use the same functionality you are currently using to generate Shopify tokens, change the return_to
key and use a direct link to a sphere as specified below:
When you generate a secured token based on the Shopify hash as provided in the Shopify Multipass documentation Multipass, place it inside the key return_to
with a link to the sphere:
the link should be the direct link to the sphere you want to be opened, e.g.: a link could be as follows: https://[subdomain].[domain]/en/[spherename]
When the user clicks the link to open a sphere, you should redirect them to the fixed route and add the Multipass token as a parameter sphere_multipass_token
so that the final link would look like the following example: https://[subdomain].[domain]/en/[spherename]?multipass_token=insert_token
Next, login to your Cozmos space and go to Settings / Ecommerce providers / Shopify
If your store is already connected below the connection data you will see a toggle for Multipass. Enable this toggle and input your Shopify secret key
Your Multipass login secret is available in your Shopify admin panel once you have configured Multipass.
The other input field shown above Client's sign in URL
relates to the reverse flow, where a user first lands on the Sphere and not your main storefront.
Input your login url in this field, if a user clicks on the account button within Sphere they will be redirected to this url and once authenticated, will be returned to the Sphere.
To find out more about Multipass, view the Shopify developer documentation.