Can I run my frontend and backend on different hosts? (Shopify public app).

ryanpwaldon
Explorer
50 6 12

Hi everyone!

I'm currently working on my first Shopify app. For my current setup, I have a Vuejs frontend hosted on Netlify, and a Nestjs backend hosted on Heroku. This is working fine for development, but I'm worried that Shopify might reject this setup upon the submission of my application. Here's the current flow –

1. User clicks install on the app store
2. User is sent to https://example-server.com/auth then is redirected back to their Shopify admin to confirm install
3. Once auth is successful, server redirects the user to https://example-client.com/ (the embedded app)

My application URL is:
https://example-server.com/auth

My whitelisted redirection URLs are:
https://example-server.com/auth/callback  
https://example-client.com/

Does this setup pass submission guidelines? If not, could you please elaborate?

Thanks!



Grow your sales with Bag — a new shopping cart for Shopify.
Learn more →







0 Likes