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!
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023