Can not refresh access tokens of our users via Admin API for our nonembedded puclic app

Can not refresh access tokens of our users via Admin API for our nonembedded puclic app

re-fresh
Shopify Partner
1 0 1

Hi all,

We have developed and published a non-embedded public app.

After user integrates his store and we get access token for that user, we can make requests and get data we want.

But access token expires within 24 hours and we need to refresh user's token .

But we can not find how to do this process via API. We can only refresh users' tokens by logging into partner dashboard, generating refresh token and using this refresh token to refresh all tokens of our users in db.

If we forget to do this process for 1 day , all of our users have to integrate their stores starting from the scratch.

This is useless and not sustainable.

 

Is there any way to refresh tokens via API?

 

 

 

Screenshot 2023-12-04 at 13-04-53 Shopify Partners.png

Replies 0 (0)