Embedded App

In Shoplo You can now embed Your app inside our admin panel. It allows You to create only content of the app and You don't have to think about other components like sidebar.


If the app should be embedded inside the admin panel, after authorization when You receive an access token You should redirect user to address:

https://{shop_domain}/admin/apps?hmac={hmac_key}&signature={signature}&timestamp={timestamp}&protocol=https&app_site={application_url}

where {hmac_key} You calculate with method HMAC-SHA256 using application secret key

hash_hmac( 'sha256', SHOP_DOMAIN + APP_DOMAIN + SECRET_KEY + SHOP_ID + TIMESTAMP, SECRET_KEY )

and {signature}

md5( SECRET_KEY + SHOP_DOMAIN + SHOP_ID + hmac_key )

Below You can see an example:

https://swiatmat.shoplo.com/admin/apps?hmac=0b389418d1bcfd90878e3722a49f8190d7198f3de0a7c611b0514e5408aefd93&signature=39f377502cd90b67ec47aa72fd904dbf&timestamp=1533024501332&protocol=https&app_site=wfirma.shoploapp.com

To turn this option on please contact our support on email [email protected]