From 8090e90cdf1fdc3512a73d0f7aee57d987d02e8b Mon Sep 17 00:00:00 2001 From: Sugat Bajracharya Date: Thu, 13 Feb 2025 23:02:12 +0545 Subject: [PATCH] chore: add note on how to obtain the session-token for session authentication --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 937d1629..6acbc0e7 100644 --- a/README.md +++ b/README.md @@ -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