How do we get the refresh token through the APIs?

Highlighted
Tourist
26 0 1

How do we get the refresh token through the APIs?

Currently to get the refresh token we need to go to the Shopify Partner login and generate a new refresh token. 

Can anyone please let me know how can we get it via postman/api?

 

1 Like
Highlighted

Hello 
Please refer below link this will help you:

https://help.shopify.com/en/api/getting-started/authentication/oauth/api-credential-rotation#step-4-...

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Shopify Staff
Shopify Staff
469 36 95

There is no way to generate a refresh token through the API.  See the guide below on the full steps:

 

https://help.shopify.com/en/api/getting-started/authentication/oauth/api-credential-rotation#step-4-...

Developer Experience @ Shopify
0 Likes
New Member
3 0 0

Is this a feature that is upcoming?  It seems like it is a security flaw for users of OAuth2 applications to have to trust that the application they've authorized is going to have good credential hygiene. 

 

0 Likes