Permanent Access Token

Solved

Permanent Access Token

francescgrau
Visitor
3 0 2

Good Morning. I'm doing this post because I'm looking at the OAuth documentation in point 5 of "Getting started", they talk about a permanent token. ErrorToken3.PNG In our shopify app we use this same method ErrorToken2.PNG but the token that it returns is not permanent, it is a 24-hour session token. 


Anyone know if there is an error with these tokens or if it is to test it in a development store?

We need this token to access from the frontstore to orders details. If only can be done it with de OAuth 2.0 and can't create some permanent token, we can create some API to create Tokens all days?

 

Thanks.

Accepted Solution (1)

guest4
Shopify Partner
101 7 24

This is an accepted solution.

If you're having this issue its because you're requesting an online access token. You need to request an offline access token instead.

View solution in original post

Replies 2 (2)

guest4
Shopify Partner
101 7 24

This is an accepted solution.

If you're having this issue its because you're requesting an online access token. You need to request an offline access token instead.

francescgrau
Visitor
3 0 2

Thank you very much