How to handle click on app inside /admin/apps page ?

Highlighted
New Member
3 0 0

After installing the app, my test app is visible inside /admin/apps page.

 

Hover on the app shows url like:

https://shop.myshopify.com/admin/api_permissions/{some_id}/redirect

And I want user to go to my website app, unlike embedded-app.

 

1. How to handle this "/redirect" url inside app, coming from the /admin/apps page ?

2. Being non-embedded app, how to take user directly to my website app ?

 

 

0 Likes
Highlighted
New Member
3 0 0

any documentation on this is highly appreciated.

Github link for any sample non-embedded app will help a lot

0 Likes
Highlighted
Shopify Partner
3 0 8

hello @govindnitk
If you want to open your custom app outside the shopify admin panel. You just need to follow below steps :
step 1 : Login your partner panel and click on "App" section.
step 2 : Click on your "custom app"  and then click on "Extensions" (below the app name).
step 3 : After that under the "Embedded App" click on "manage embedded app" button.
step 4 : Now click on "Enable" button under the "Embed your app".

Feel free to reply if you have any more concern.

Thanks

0 Likes
Highlighted
New Member
3 0 0

@shivam2904 

 

Thanks for your inputs.

1. What you have told is done already.

2. What I am asking is - user installed my app and in his /admin/apps page, my app is enlisted. And Now I want to handle action for click event on the app name

 

And I have resolved it.

How: click will go through /auth, /auth/callback etc calls ( react+next app lifecycle) and at last it will go to route "/", this is where you can give redirect to app url( usually your non-embedded app hosted url).

 

I was looking for a standard way, but not found through documentation

 

0 Likes