From d1abdeb62361860bed0f19d10a92ad7107543b5c Mon Sep 17 00:00:00 2001 From: Ryan Abrams Date: Fri, 4 Jan 2019 12:59:42 -0800 Subject: [PATCH] Add docs for autoredirect config parameter Config parameter is user facing so should be documented. Signed-off-by: Ryan Abrams --- docs/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index fe95d5942..5b506758f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -171,6 +171,7 @@ auth: realm: silly-realm service: silly-service token: + autoredirect: true realm: token-realm service: token-service issuer: registry-token-issuer @@ -623,6 +624,7 @@ security. | `service` | yes | The service being authenticated. | | `issuer` | yes | The name of the token issuer. The issuer inserts this into the token so it must match the value configured for the issuer. | | `rootcertbundle` | yes | The absolute path to the root certificate bundle. This bundle contains the public part of the certificates used to sign authentication tokens. | +| `autoredirect` | no | When set to `true`, `realm` will automatically be set using the Host header of the request as the domain and a path of `/auth/token/`| For more information about Token based authentication configuration, see the