I have made an app using Shopify CLI.
It is a simple app that after installation gives a configuration page on the admin dashboard and sends a script tag to the store and adds a small widget(something like chat support) which when clicked on by the customer, would provide a nice UI. This app would reward you with points for your orders.
My question here is when the merchant configures the rewards on the admin, the authentication works by default
But I also need to know which customer has signed in to the store, so I can send it to my Shopify app backend and display the UI based on that person’s activity.