Enable Passage authentication for your Shopify app

Next.js provides a number of templates for e-commerce specific use cases. If you are using Next.js for e-commerce sites, you can use the Passage next-auth provider to easily add passkey authentication to your website.


Setup a NextJS app with the Shopify Integration

Next.js and Vercel have made it incredibly easy to get started with your Shopify powered website. They have provided a one click template for rapid preview and a Shopify integration guide to connect your Shopify Store to a Vercel deployment. Add Passage

Once you have your headless storefront deployed on Vercel you can add Passage as an OIDC provider for customer authentication in two easy steps:

  1. Read our documentation on implementing the Passage Provider with Auth.js

  2. Configure your Next.JS app to protect pages and API routes

Last updated