User Id Context on admin extension
Is it possible to know the userid of the user (under the merchant/shop) within an admin extension context? is it included in the connections?
3 Replies
Hello,
You can only get the merchant user's information when using an online accessToken which we don't request. The Gadget connection uses offline access tokens
Ok thanks. in that case, should i create mny own connect using the shopify node pacakge?
You'd need to run an entirely new auth flow just to get the online access token. It's not an instance of an admin API call to get another access token