Skip to content

Commit

Permalink
Merge pull request Ericsson#3599 from csordasmarton/doc_auth_require_…
Browse files Browse the repository at this point in the history
…login

[doc] Highlight that user must be logged in before token generation
  • Loading branch information
csordasmarton authored Feb 16, 2022
2 parents 84d1390 + 4914787 commit 337e67a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/web/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,11 @@ Command line clients can authenticate itself using the username/password stored
in the [`.codechecker.passwords.json`](#preconfigured-credentials). It is
obviously not a good idea to store passwords in text files. Instead of this the
user is able to generate a token from command line, that can be used to
authenticate in the name of his/her name. To generate a new token, the user must
be logged in first.
authenticate in the name of his/her name.

**Note**: To generate a new token, the user **must be logged in** first. Use
the `CodeChecker cmd login` command for it. After you have successfully logged
in you can generate a new token with the `CodeChecker cmd token new` command.

Personal tokens can be written instead of the user's password in the
`~/.codechecker.passwords.json` file:
Expand Down

0 comments on commit 337e67a

Please sign in to comment.