How to implement offline access tokens using Express and Node?

Solved

How to implement offline access tokens using Express and Node?

techticpooja
Shopify Partner
7 1 2

i went through shopify documentation but didnt got clear idea of how to implement for offline access token via express and node there's only support i found for KOA and the function used is createShopifyAuth
 i am using this module @Shopify/shopify-api so whats the exact function to implement offline tokens

Accepted Solution (1)

Vellir
Shopify Partner
146 32 40

This is an accepted solution.

If you're using this template or created your app using shopify-cli, change this line to:

 

app.set('use-online-tokens', false);

 

 



 

 

- Looking for a Wishlist? Try First Wish

- Shopify Merchants, manage your new arrivals with Newr

- Shopify Developers, if you're looking into selling your app to focus on other projects, drop me a line.

View solution in original post

Replies 2 (2)

DeJoy
Shopify Partner
27 2 4

Maybe the README of the module will help you:

https://github.com/Shopify/shopify-api-node/tree/9297dda7da2c266b9987d65cba693abbe7ab176a

SAGE Apps | Automatically alert your subscribers when you add new products with Vye: Automated Email Alerts | Email: contact@sage-apps.com

Vellir
Shopify Partner
146 32 40

This is an accepted solution.

If you're using this template or created your app using shopify-cli, change this line to:

 

app.set('use-online-tokens', false);

 

 



 

 

- Looking for a Wishlist? Try First Wish

- Shopify Merchants, manage your new arrivals with Newr

- Shopify Developers, if you're looking into selling your app to focus on other projects, drop me a line.