Demo of creating a next-auth oath provider with Shopify Customer Account API
- Install headless app on Shopify
- Choose "Confidential" client type
- Configure callback URL, use
http://localhost:3000/api/auth/callback/shopify
for local testing - Copy Client ID, Client secret and shop ID (from Application endpoints) to your
.env
file