Adding third party login to Shopify app

Highlighted
New Member
1 0 0

We're building a Shopify app that allows stores to list their products on our own platform, but we need to authenticate them on our end first so we can connect their Shopify store with their user account on our service. What is the best way to show our own login form after someone opens our Shopify app for the first time? And is there a way to retrieve the shop url and access token after the app has already been loaded so we can store them on our end?

0 Likes
Highlighted
New Member
2 0 0

We figured out the first part out (pass the parameters through a href url in a button which launches a window) but are now stuck on how to pass the access token to our server to connect the two accounts (the Shopify account and our own platform's account) after the login process.

0 Likes
Highlighted
New Member
2 0 0

We think we have this figured out but are not sure if we're taking the right approach. We’ve changed the oauth params so it provides us with a permanent access token and are storing it in a session cookie with the httpOnly flag set to false in the browser. Keep in mind, we’re developing an embedded app and have to load a login to our own platform to link accounts.

0 Likes