Skip to content

Commit

Permalink
Update docs/docs/examples.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Ivanov <[email protected]>
  • Loading branch information
SeqLaz and suricactus authored Oct 17, 2024
1 parent bed3530 commit 4e10148
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e10148

Please sign in to comment.