Technical Documentation
Shopify Integration
The Unidy Shopify App enables seamless integration of Shopify with the Unidy account and SSO solution. This ensures a smooth and unified login experience for your customers while giving you full control over the available ordering options.
Key Features
- Seamless Shopify Integration – Connect your Shopify store with Unidy effortlessly.
- Simple Login with Unidy SSO – Enable easy access for your customers via Unidy's Single Sign-On.
- Centralized Address Management – The profile data (email, first name and last name) and address information (street and house number, city, zip code, country) is synced from Unidy to Shopify on user creation.
- Fully Integrated Ecosystem – Make Shopify a seamless part of your Unidy environment.
With the Unidy Shopify App, you enhance the shopping experience, simplify user management, and ensure data consistency across platforms. 🚀
Install the Shopify App
After installing the Unidy Shopify App, please contact your Customer Success Management for the required OAuth credentials.
You can then run through the steps of setting up the app

Steps 1 and 2 are straight forward with the data you received from your Customer Success Management.
Steps 3 will add an example Snippet to your Shopify template and you should try it out. However this is only a very basic solution and you might want to adapt the login button to your brands look and feel. This is what the example liquid code looks like, if you want to use it as a starting point.
{{ 'app.css' | asset_url | stylesheet_tag }}
<div class="unidy_sso_button">
{% if customer %}
<a class="button button--secondary" href="/account/logout"><img src="{{ 'PersonLockFilledIcon.svg' | asset_url }}" alt="Sign out Icon"></a>
{% else %}
<a id="button button--secondary" class="button button--secondary" href="https://shop.unidy.de/login-unidy?shopify_domain={{ shop.permanent_domain }}&return_to={{ canonical_url }}"><img src="{{ 'PersonLockIcon.svg' | asset_url }}" alt="Sign in Icon"></a>
{% endif %}
</div>Configure the Shopify Store
Make sure to disable the new Shopify Customer Accounts feature in the Shopify Settings. It would require each user to always login via email token.

Make sure to disable the built in Spam protection in the Online Store Preferences. The Unidy platform is already taking care of that.

App permissions & data access
The Unidy Shopify App follows the principle of least privilege: it requests only the permissions its login and account‑sync functions require, and it never accesses your orders, products, inventory, discounts, or payment data.
What the app does in your store
- On each login – creates or updates the Shopify customer from the Unidy account (profile and address) and signs the customer in via Unidy SSO.
- Login helper page – creates and maintains a small Online Store page that the SSO login flow relies on.
- Theme login block – provides the "Unidy SSO" login button as a theme app‑embed and opens the theme editor for you to enable it. The app does not restyle or overwrite your theme.
Permissions requested at install
Permission (Shopify scope) | Why the app needs it |
Customers – read & write ( read_customers, write_customers) | Create and update the customer record from the Unidy profile and address, and sign the customer in. |
Store content / Pages – read & write ( read_content, write_content) | Create and maintain the page(s) that the SSO login flow uses. |
Themes – read & write ( read_themes, write_themes) | Provide the Unidy SSO login block as a theme app‑embed and open the theme editor for you to activate it. |
Customer data accessed
The app accesses name, email, phone and address only, in order to create and keep the Shopify customer in sync with the Unidy account. The reason declared to Shopify for this protected customer data is "App functionality."
Privacy & compliance
The app implements Shopify's mandatory GDPR webhooks — customers/data_request, customers/redact and shop/redact — so data‑subject (GDPR) requests and app uninstalls are honored automatically.
