Thanks for responding. I didn't know that when the user goes to the app in their dashboard, they automatically send their shop URL as a query parameter to your app. And I didn't know how to re request the access token without the shop URL, but we just get the shop URL from the initial request.
... View more
I'm looking to write my own app with a python backend. I understand we have to get an access token. And it's best to save that token to a session so that whenever the user connects to our app we have the access token for their shop. And lastly; the way I understand it, we get the access token after the user successfully installs our app - and this requires the name of the shop (i.e shopname.myshopify.com). My question is, what if the user logs in from a different computer? They won't have the same session that the access token is stored in. If they don't have that session, we need to make a new one for them. How do we generate a new access token for a new session without repeating the installation process? I think that the shopify libraries with koa do this all automatically for you; however, I want to use python :/ So if anyone knows how I would go about generating access tokens on demand, without requiring users to go through the installation process again, I would greatly appreciate it! P.S. current python-shopify libraries either aren't supported anymore, or do not support persistent connections.
... View more