Hi, I am building an embedded app and I have all the manage listing items green except the webhooks for compliance, and the appbridge / session tokens. I have appbridge in my app from what I can tell so not sure why it wont validate. The web hooks I dont see shopify accessing them in the access logs. The webhooks are setup on the same embedded app utl with a path of webhooks/customers/data_request/, webhooks/customers/redact/ webhooks/shop/redact/ my app is still in draft and I am unable to submit for review. For oauth I have it send to my oauth url and redirects back to the dev store but the redirect doesnt include the app slug so it goes back to a 404 page I am redirecitng back to the embedded url with shop and host. Redirect.create(app).dispatch(
Redirect.Action.REMOTE,
"<?php echo $url;?>"
); using app bridge from the cdn and the latest version with js. My embedded app is in reactjs "@shopify/app-bridge": "^3.7.10",
"@shopify/app-bridge-react": "^4.2.7",
"@shopify/app-bridge-utils": "^3.5.1",
1 Like
Hey @trendapp, a few things to look into here. The Redirect.create(app).dispatch() pattern you’re using for OAuth is v3 syntax, and you’re mixing v3 and v4 App Bridge packages which can cause issues with session token validation. App Bridge v4 uses a CDN-based approach rather than npm packages. The migration guide covers the differences.
That said, token exchange eliminates OAuth redirects entirely and is the recommended path for embedded apps.
For compliance webhooks, they need to be configured in your shopify.app.toml and deployed with shopify app deploy. Even if your backend is using an older PHP library (I suspect it is based on the code you’ve shared), you can link your existing app using the CLI. The migrate from dashboard guide covers this.
thanks I migrated the embedded app to the the cdn but still not showing data for the session on the app submission. Also for the webhooks are they checked as a post? My manual checks are showing it and they are in my toml file.
When I try and hit the app submission test the web hooks in my logs I do not see a post to the web hooks or a request for the shopify.app.toml file so cant tell what its trying to do when it trys to verify that section of app submission