How to Regenerate a Magento 2 Token
This article helps Webgility application users regenerate a Magento 2 access token to maintain a secure and functional integration between Magento 2 and Webgility apps. Since access tokens have a limited lifespan, users may need to refresh them to ensure continued access to resources and proper use of the OAuth workflow. The article outlines steps to enable OAuth authentication, configure resource access, reauthorize integrations, and update the regenerated access token in either Webgility Online or Webgility Desktop, depending on the platform in use.
Overview:
You may need to regenerate your Magento 2 token to refresh your integration or properly utilize the OAuth workflow. These tokens serve as "keys" to access resources, with access tokens typically having a shorter lifespan than refresh tokens.
Steps to Regenerate Access Tokens:
-
Enable OAuth Authentication:
-
Navigate to Integrations:
-
Configure Resource Access:
-
Reauthorize and Get New Access Token:
-
Update Access Token in Webgility Desktop/Webgility Online as required:
-
For Webgility Online users, refer to the article How to Connect Webgility Online with Magento 2 and Higher, and skip to Step 6.
-
For Webgility Desktop users, refer to How to Connect Magento 2 and Higher with Webgility Desktop, and skip to Part 4.
-