Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I have a Single-Page-App which uses App Bridge and manually fetches a token on page load with `getSessionToken`.
It seems like the token has it's expiry set to 1 minute only. This means after 1 minute, the token will not work with my backend app.
What am I missing? Why is the token set to expire only in 1 minute.. how should I be handling this?
we call getSessionToken for each request. It looks similar to the example for axios in the help pages:
https://shopify.dev/tutorials/use-session-tokens-with-axiosHope this helps!