Headless commerce and custom storefronts with Shopify APIs and SDKs
Greetings!
I am currently investigating possible ways to tackle a specific use case, using Shopify with the Next.js Commerce integration for building a custom storefront. Right now, their product does not include an option for authenticating using OAuth2 - e.g. Google and Facebook. I have a rough draft of a solution, but still can't imagine the complete flow.
It would go something like this:
Now, one thing needs to be taken into consideration. Before creating a token for a customer, we need to create a new customer, right? And as far as I know, the Shopify mutation requires username and password input. Do you reckon this could render the entire idea useless? And another thing, if the Google info for that customer changes, for example the last name, would that make the generated Multipass invalid -- since a new last name is encoded into it, thus changing the string itself?
Please share your thoughts!
Thanks!
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023