Client credential token
A client_credentials
token is used when the credentials are not publicly exposed, usually a server-side language such as PHP or Node.js. This type of authentication enables CRUD access to all resources.
client_credentials
allows full read and write access to endpoints.
The diagram below illustrates the process flow for authentication for a server-side client credential application and a subsequent request to POST products.
Create a client credential token
POST
https://api.moltin.com/oauth/access_token
Request Body
Name | Type | Description |
---|---|---|
grant_type | string | The grant type, in this case it must be client_credentials |
client_secret | string | Your client_secret |
client_id | string | Your client_id |
Last updated