Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

New admin app urls, what's the deal?

New admin app urls, what's the deal?

Saso-WD
Shopify Partner
26 1 13

According to this https://changelog.shopify.com/posts/shopify-admin-now-lives-at-admin-shopify-com now there's a new admin URL, that fine and I've updated the app, but why the the legacy URL still opens in a new tab even when we're using the correct new URLS?

 

SasoWD_0-1676010203164.png

And this message doesn't even make any sense.

Replies 7 (7)

1080
Shopify Partner
301 9 65

@Saso-WD  i have code as per shopify doc.

i am not getting any error my side. but still few of my client reported this same error.

the solution was update the CSP as per admin.shopify.com this was the solution.
second issue your app can load faster. 

more details  here my example code 
https://github.com/Shopify/shopify-app-template-node/issues/1233

Saso-WD
Shopify Partner
26 1 13

Setting CSP doesn't do anything for me, still opens the legacy url in popup.

Saso-WD
Shopify Partner
26 1 13

UPDATE:
Setting Up CSP & Upgrading to App Bridge 3.7.2 fixed it now, but it took 2 days for Shopify to update (even though the docs say it takes about 3 hours)

1080
Shopify Partner
301 9 65

@Saso-WD   last App Bridge  version have you facing the issue ? 

I am using the  3.4 but still see the app warning 

"@shopify/app-bridge": "^3.4.3",
    "@shopify/app-bridge-react": "^3.4.3",
    "@shopify/app-bridge-utils": "^3.4.3",

 

Saso-WD
Shopify Partner
26 1 13

After the warning started popping up I updated to the 3.2 from 2.x, that didn't do it (or maybe didn't give it enough time) but then I updated to the latest version 3.7.2 (I think that's the latest one) and it just started working

Henry_Tao
Shopify Staff
91 28 15

@Saso-WD @1080 May I have your appId or API_KEY (it's public, not the secret key)? I can do a further check. Thanks. 

Henry | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

1080
Shopify Partner
301 9 65

@Henry_Tao   Thanks lot  for the looking the issue i sent you DM the App id.