From 5f1281ddcbb27b1bf1ce69ef67915d3f43e527aa Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Mon, 9 Mar 2020 11:28:13 -0700 Subject: [PATCH 1/2] Update JWT docs Add mention of new CLI parameters. --- website/pages/docs/auth/jwt.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/pages/docs/auth/jwt.mdx b/website/pages/docs/auth/jwt.mdx index b4f788437d8..6ea04090911 100644 --- a/website/pages/docs/auth/jwt.mdx +++ b/website/pages/docs/auth/jwt.mdx @@ -170,10 +170,13 @@ Complete the login via your OIDC provider. Launching browser to: The browser will open to the generated URL to complete the provider's login. The URL may be entered manually if the browser cannot be automatically opened. -The callback listener may be customized with the following optional parameters: +The callback listener may be customized with the following optional parameters (typically not required): - `callbackhost` (default: "localhost") +- `callbackmethod` (default: "http") - `port` (default: 8250) +- `callbackport` (default: value set for `port`). This value is used in the `redirect_uri`, whereas + `port` is the localhost port that the listener is using. These two may be different in advanced setups. ### OIDC Provider Configuration From 9428479ef14624678771ae16f546e7ab3dc4105e Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Mon, 9 Mar 2020 12:50:56 -0700 Subject: [PATCH 2/2] Add mount and listenaddress --- website/pages/docs/auth/jwt.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/pages/docs/auth/jwt.mdx b/website/pages/docs/auth/jwt.mdx index 6ea04090911..2f3c74865ef 100644 --- a/website/pages/docs/auth/jwt.mdx +++ b/website/pages/docs/auth/jwt.mdx @@ -170,11 +170,14 @@ Complete the login via your OIDC provider. Launching browser to: The browser will open to the generated URL to complete the provider's login. The URL may be entered manually if the browser cannot be automatically opened. -The callback listener may be customized with the following optional parameters (typically not required): +The callback listener may be customized with the following optional parameters. These are typically +not required to be set: +- `mount` (default: "oidc") +- `listenaddress` (default: "localhost") +- `port` (default: 8250) - `callbackhost` (default: "localhost") - `callbackmethod` (default: "http") -- `port` (default: 8250) - `callbackport` (default: value set for `port`). This value is used in the `redirect_uri`, whereas `port` is the localhost port that the listener is using. These two may be different in advanced setups.