Hello all!
We have a quiz app on Shopify. Our customers use Klaviyo to achieve various goals of their own. Since we have a lot of customers who use Klaviyo, we recently decided to partner up and create our own app on Klaviyo, so that in the future we may be able to apply for a partnership!
However, we would need some help on this. As some of you might know, on Shopify - when someone installs an app, then the app actually opens in an iframe shopify’s own embedded app mechanism called app bridge. Apart from that, the only authentication method that we allow is shopify’s own token based authentication. This is needed for us so that we authorize and identify a user in our app’s backend.
The challenge we are facing now is that we want to publicly list our app (which is not reviewed yet) on Klaviyo’s integration directory, and for that we would need atleast some context on who’s installing it on our backend. We can identify an user on our backend either through the shopify store’s shop token (that is saved in our database when an user installs our app on shopify) OR the name of the shop (usually in the lines of abc.myshopify.com).
However given how shopify works, we don’t see a way to achieve everything under https://developers.klaviyo.com/en/docs/handle_your_apps_oauth_flow#embedded-app-installation-flow as once a user is redirected to shopify’s login page, we do not see how we are able to redirect them to our app on Shopify.
Has anyone got experience in this who’s able to help us out? I can provide more details as needed.