Closed hamzasgd closed 2 years ago
You can use app bridge which is NPM package. Its provided in shopify documentation here https://shopify.dev/apps/auth/session-tokens/app-bridge-utilities you can find it.
I Figured out another solution for it.
I Figured out another solution for it.
@hamzasgd Can you list your solution here so it can help other developers?
I have same issue and need tokenRoute in vuejs component. Thanks
@tanseercena Yes I added the class .session-token
in the body tag and get the token from body when calling axios request
@tanseercena by adding the class package automatically updating the token every minute so I just get from the body tag every time I make a axios request.
how to use tokenRoute when using Vuejs