CLI App Login
CLI commands are downloaded to your machine when you download Juice. To initiate the CLI app, simply open a terminal window from your device's application manager.
To log in:
-
Run the following command:
./juice login
-
If you're not redirected to a browser window, copy the link that populates and paste it into your browser. Then, log in with your JuiceID.
-
Wait for confirmation before closing your browser window.
Once your login is confirmed, the CLI will update your status to logged in. If you need more persistent access to Juice for scriptable or automated projects, you can also use an M2M token to log in.
To log in with a machine-to-machine (m2m) token:
-
Run the following command to generate the token:
./juice m2m create -d "<reference name of your choice>"
-
Save the token in a secure private location.
-
To log in, run the command:
./juice login -t "<reference name of your generated token>"
Use m2m list
to show available tokens.
To destroy a token use m2m remove "<reference name of your generated token>"
.
Help Improve This Page
Found a mistake? Want to contribute? Edit this page on GitHub or explore more editing options.