From 197d1ef2eeb7691965620f229b351df090a11629 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 7 Sep 2023 17:07:17 +0300 Subject: [PATCH] #395: Explain the use of BASIC_AUTH in the docs (#396) --- src/guide/configure/client-configuration.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/guide/configure/client-configuration.md b/src/guide/configure/client-configuration.md index bad86d355..1d6795d9a 100644 --- a/src/guide/configure/client-configuration.md +++ b/src/guide/configure/client-configuration.md @@ -45,7 +45,11 @@ these accounts belong to different domains, `wonderland` and ## Basic Authentication Credentials -Provide basic authentication credentials (login and password): +The idea of basic authentication credentials is to provide the access control using a web server with a reverse proxy like [Nginx](https://www.nginx.com/) while these credentials are ignored by the Iroha peers. + +The login and password will be filled by the client and used for the [`Authorization`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) HTTP [header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers). + +Use this style of configuration to provide the basic authentication credentials (login and password): ```json "BASIC_AUTH": {