From 4e101488d680988f3d8a67a53c02542ed1cf454b Mon Sep 17 00:00:00 2001 From: Johnny <77129293+SeqLaz@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:22:41 -0600 Subject: [PATCH] Update docs/docs/examples.md Co-authored-by: Ivan Ivanov --- docs/docs/examples.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/examples.md b/docs/docs/examples.md index 1bf4377..91066d5 100644 --- a/docs/docs/examples.md +++ b/docs/docs/examples.md @@ -21,7 +21,10 @@ Note that all values are enclosed in single or double quote characters, dependin qfieldcloud-cli login "ninjamaster" "secret_password123" ``` -After logging in, export the `QFIELD_CLOUD_TOKEN`: +After signing in, the QFieldCloud CLI will output the value of the authentication token. +The authentication token will be sent to QFieldCloud API to authorize you instead of sending the username and password. +You can explicitly pass the authentication token via passing `--token` CLI argument for every command. +The easier approach is to set an environment variable with your token: ```bash export QFIELDCLOUD_TOKEN="123abcXYZ987exampleToken"