How can I get both online and offline access tokens simultaneously because I need both.

Solved
Highlighted
New Member
5 0 0

Hi,

I get the error message "Invalid API Key or access token" after I went out of my app and coming back in.

I know the reason for that is because the online access has expired

 

My question is ..
How can I get both online and offline access tokens simultaneously because I need both. The online access token is to setup the app and the offline token is get the data from Shopify and send it to Xero. Must I ask the user a second time but that seems unprofessional.

 

Thanks

0 Likes

Success.

Shopify Staff
Shopify Staff
65 7 9

Hey @Peter30,

 

Are you using the EASDK or App Bridge? If you're using App Bridge, you need to be sure to follow the authentication flow as outlined in our docs here. If you're already following these steps but are still having an issue, please provide more details about your implementation and we can investigate for you.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
New Member
5 0 0

Thanks!,

 

That was it.

0 Likes