Force app to not to embed in shoify admin

I am trying to create an app using Laravel.

I have disabled app embedding in Embedded app settings in partners.shopify.com settings. Still whenever I click on Open app button from Shopify admin, I am redirected again to Shopify admin where app is displayed in embedded form.

I am using following package in Laravel.

“shopify/shopify-api”: “^4.0”,

When I click on Open app button following URL is executed

https://mystore.myshopify.com/admin/api_permissions/123456789012/redirect

and then I am redirected to

https://mystore.local.com/?hmac=9876543210&host=dftrch4t8saz61vfg76f&session=5r78g4h2zay4kl41n2sd57r4g1&shop=mystore.myshopify.com&timestamp=1669633957

After this I automatically redirects to

https://mystore.myshopify.com/admin/apps/ac8sfsdfsd454fdsdsfftryhntyu45/

I don’t want last redirection. Instead it should remain on https://mystore.local.com/

Let me know if any other information is required.

Thank you.