How to get Offline and Online tokens

amaltechlabs
New Member
1 0 0

I was working on a Shopify app that needs to run some CRON jobs.

To access Shopify graph ql API I need an offline token and for the app interactions,

I need an online token that is the best-suggested method we are creating an embedded app.

The current approach is redirecting the user twice to achieve the same.

The base code plate we are using is https://github.com/Shopify/shopify-app-node 

Any example application showing the offline token flow.

I think it's great if you have some repo with example codes.

Shopify Cli is great. please revert back generators 

0 Likes
MikePuglisi
New Member
1 0 0

@amaltechlabs

Did you successfully get an offline token flow?

If so, can you provide the example you found or perhaps provide an example here?

 

 

0 Likes