Best way to implement Shopify auth within my external app

Hi!

I’ve got an external application (not a Shopify app), and within it, I’ve created an integration with a Shopify store. Users can go into Settings, enter their email address and password that are associated with their account in the merchant store, and connect their account to my app. So, when I set this up, I didn’t anticipate that a lot of new Shopify customer accounts don’t even have passwords, but instead authenticate with email and a code sent to them.

Okay so I thought, we’re going to have to instead implement an OAuth kind of situation, where they would get redirected to the Shopify store, login there, and then they would get directed back to my app with the token.

What would be the best way to do this? I’ve come across “Multipass”. Is this the main OAuth option? Or is there a simpler method?

Thanks in advance..

Hi Daniel,

you might be looking for Multipass:

You’re the owner of a successful website forum. All of your users must log in to the forum to contribute. Members of your forum can then purchase a forum t-shirt through your Shopify store. Unfortunately, your users have to log in to the forum first and then log in to your Shopify store before they can purchase a t-shirt.

Multipass login is for store owners who have a separate website and a Shopify store

Cheers,
Ben

Thanks Ben! I’ll have a go with Multipass then.

I’m unfamiliar with Multipass personally — but if you find that it’s not working for you (in design or requirements, such as the store must be on the Shopify Plus plan), you might want to investigate our Authentication and Authorization documentation. That section of documentation has all the details an app should need for app installation, managing access scopes, and token acquisition.