Skip to content

Commit

Permalink
chore: add note on how to obtain the session-token for session authen…
Browse files Browse the repository at this point in the history
…tication
  • Loading branch information
sugat009 committed Feb 13, 2025
1 parent b815059 commit 8090e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ CHT Conf supports authentication using a session token by adding `--session-toke

cht --url=https://example.com:12345 --session-token=*my_token*

_NOTE: the `token` can be obtained by doing a POST request to `/_session` endpoint with `username` and `password` as Form parameters. [More info](https://docs.couchdb.org/en/stable/api/server/authn.html#cookie-authentication)_

### Into an archive to be uploaded later

cht --archive
Expand Down

0 comments on commit 8090e90

Please sign in to comment.