I want to create a non-embed App But I really got stuck at how can I verify from FE that the user is from the Shopify app or not.
As in non-embed App FE URL is open anywhere but what if a user directly Opens the URL instead of from Shopify apps. if so then can not get shop which must be required in App. Also, Need to verify that the user is logged into Shopify admin and The app is opened from Shopify Apps. In my App, I'll need to use Shopify admin API so the user must be verified.
Is there any way to verify the merchant from Front-end? Like In the embedded app, the AppBridge provider automatically redirects to Shopify admin login Page if not logged in.
Any way with this? Help will be grateful - Thank you!