When do shopify access tokens expire

Offline access tokens do not expire, which tells me you're probably working with online access tokens (which last as long as the user's web session)

Offline access tokens only expire when the app is uninstalled or your revoke the token yourself. Online access tokens expire with the admin session of the user who the access token was granted for.

Offline access tokens don't expire unless your app is uninstalled or you revoke the access token. Online access tokens on the other hand, only last as long as the user's admin session.

API access modes: https://shopify.dev/concepts/about-apis/authentication#api-access-modes
Authenticate with OAuth: https://shopify.dev/tutorials/authenticate-with-oauth

https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/26/when-do-shopify-access-tokens-expire/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
When do shopify access tokens expire
Offline access tokens do not expire, which tells me you're probably working with online access tokens (which last as long as the user's web session……
<<上一篇
下一篇>>
文章目录
关闭
目 录