Overview
Authentication
To develop themes, apps and plugins using Taojaa CLI and APIs, it requires authentication as part of the security and data protection method. See below how to authenticate your CLI access and API access on Taojaa.
CLI Authorization
Pre-requisites:
- Make sure you have the latest version of Taojaa CLI installed. See Installation Guide on how to install the latest version.
To authenticate your CLI access once you have installed the CLI tool globally on your local machine, run the command taojaa authenticate
on your terminal, you will be asked to enter your SECRET KEY and your ACCESS TOKEN.
To get your credentials, sign in to your Partners Account
$ taojaa authenticate
Enter Access Token: {{YOUR_ACCESS_TOKEN}}
Enter Secret Key: {{YOUR_SECRET_KEY}}
Authenticated succssfully.
You can also use the option flags to run a one line command as show below
$ taojaa authenticate --accesstoken={{YOUR_ACCESS_TOKEN}} --secretkey={{YOUR_SECRET_KEY}}