Hi everyone,
I’m currently developing a public, non-embedded Shopify app using:
Frontend: React
Backend: Node.js (Express)
The Error I’m Facing
Authentication error on install
During an automated check, your app didn’t successfully initiate authentication when installing.Expected URL:
https://admin.shopify.com/store/xbbf0y-vp/app/grant
Actual URL:
https://web.markiter.app/sample-page?shop=...&hmac=...
Approaches I’ve Tried
Used Nango (self-hosted) to handle Shopify OAuth, but bypassed it during install flow due to delays in redirection.
Created a frontend-only OAuth flow using
window.location.href
to start the/admin/oauth/authorize
process.Replaced the frontend redirect with a proper server-side 302 redirect in my Node.js backend at
/shopify
:
res.redirect(`https://${shop}/admin/oauth/authorize?...`);
Handled Shopify’s OAuth callback at
/shopify/callback-test
in the frontend, where I redirect to:
https://admin.shopify.com/store/<store>/app/grant
After that, redirecting the user to
/sample-page
(my main app UI)
My End Goal
To successfully publish a public, non-embedded Shopify app that:
- Passes the automated install/authentication test (priority)
- Uses React + Node.js
- Redirects properly after install without using app-bridge
- Handles OAuth securely and cleanly without embedding
Any help or clarification from the community or Shopify team would be hugely appreciated.
Thanks!