shopify-token | Get an OAuth 2.0 access token for the Shopify API with ease | OAuth library
kandi X-RAY | shopify-token Summary
kandi X-RAY | shopify-token Summary
Get an OAuth 2.0 access token for the Shopify API with ease
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shopify-token
shopify-token Key Features
shopify-token Examples and Code Snippets
Community Discussions
Trending Discussions on shopify-token
QUESTION
I am building a public shopify app and I want to add a POST route that allows a metafield to be created.
In the shopify-api-node
module the following is stated:
accessToken
- Required for public apps - A string representing the permanent OAuth 2.0 access token. This option is mutually exclusive with the apiKey and password options. If you are looking for a premade solution to obtain an access token, take a look at the shopify-token module."
Here is the object that needs the shopName
and accessToken
ANSWER
Answered 2019-May-11 at 05:24This is not the right way to use store access token
Because shopify/callback
url call once only when store admin install your app but access token is useful for most of the time
To use store access token for your system you can do as below
shopify/callback
API call when your app installing by shop admin that time you can store this access token in database and when it require simply getting from your db and this access token is accessible for life time till store admin not uninstall your app
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shopify-token
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page