How to get Host for Redirect action of Shopify in Laravel

Magecomp-User
Shopify Partner
3 0 1

I am trying to change browser top-level URL in embedded app of shopify. I got the solution for performing this task using Redirect action of shopify using this link  .
This solution is working fine as per my requirement but I am stucked for retrieving host for parameters for createApp(). 
Can anyone have an idea what is exactly host in this action and how can I get the value of the host?
I got this link for retrieving host  but I can't get an exact idea what I have to do exactly

Note: I am using Laravel 8 and osiset/laravel-shopify addon version 17.1 to create an app of shopify. And shopify app type is embedded.

Reply 1 (1)

nafeeur10
Shopify Partner
5 0 0

$host = base64_encode("$shop/admin");

Please let me know if it works by giving it a like or marking it as a solution!
Working as Technical Lead at Zepto Product Personalizer
If you need any help, mail me at inafeeur [at] gmail.com or Give me a text message on Skype nafeeur.rahman1