Store admin in session tokens and launch URLs
- The
issclaim of a session token is the store admin URL,https://<slug>.youcan.store/admin, instead ofhttps://seller-area.youcan.shop/admin. - The
destclaim is the store's YouCan URL,https://<slug>.youcan.store, with the scheme. A custom domain of the store is never used inissordest. - Check that
issisdestfollowed by/admin. - The launch URL of an embedded app has a
hostparam with the base64-encoded store admin (<slug>.youcan.store/admin). Thehostparam is included in the HMAC. - When your app is loaded outside the Seller Area, redirect to
https://<decoded host>/apps/<your app handle>/app. - See JWT Payload.