Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Trying to set up a Python based service to be a Shopify App. I found good instructions for doing OAUTH installation, but then discovered "Shopify managed installation" (https://shopify.dev/docs/apps/auth/installation) . It seems that the Shopify CLI is language agnostic, even if it doesn't have a python example. What routes and functionality would I need to implement to use this functionality?
Did you find any answer to your question?
I'm still trying to build my solution, but it's essentially what is described in the documentation on Token Exchange. There is no installation endpoint; every request made to the iframe in an embedded app includes the information required for Shopify App Bridge to make session tokens in the frontend, which you then include in every call to your backend to exchange them for access tokens. It's not unreasonable to make a call when the iframe is first loaded specifically to give your backend a chance to store an offline access token for the shop.