From 32d117a64763a16aca49770419ae03769cff8a18 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 19 Sep 2023 16:12:57 -0600 Subject: [PATCH] hotfix: update oauth urls for clustered --- .../cloud-dedicated/reference/cli/influxctl/_index.md | 4 ++-- content/influxdb/clustered/get-started/setup.md | 4 ++-- content/influxdb/clustered/reference/cli/influxctl/_index.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md index 9ea292b30..8e3cd20e3 100644 --- a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md @@ -303,8 +303,8 @@ If stored at a non-default location, include the `--config` flag with each # client_secret = "" # scopes = [""] # parameters = { audience = "" } - # token_url = "https://indentityprovider/oauth2/v1/token" - # device_url = "https://indentityprovider/oauth2/v1/auth/device" + # token_url = "https://indentityprovider/oauth2/v2/token" + # device_url = "https://indentityprovider/oauth2/v2/auth/device" ``` {{% /code-placeholders %}} diff --git a/content/influxdb/clustered/get-started/setup.md b/content/influxdb/clustered/get-started/setup.md index c6fb57030..20f37ab27 100644 --- a/content/influxdb/clustered/get-started/setup.md +++ b/content/influxdb/clustered/get-started/setup.md @@ -66,9 +66,9 @@ If stored at a non-default location, include the `--config` flag with each - {{% code-placeholder-key %}}`PORT`{{% /code-placeholder-key %}}: the port to use to access your InfluxDB cluster - {{% code-placeholder-key %}}`OAUTH_CLIENT_ID`{{% /code-placeholder-key %}}: the client URL of your OAuth2 provider - (for example: `https://indentityprovider/oauth2/v1/token`) + (for example: `https://indentityprovider/oauth2/v2/token`) - {{% code-placeholder-key %}}`OAUTH_DEVICE_ID`{{% /code-placeholder-key %}}: the device URL of your OAuth2 provider - (for example: `https://indentityprovider/oauth2/v1/auth/device`) + (for example: `https://indentityprovider/oauth2/v2/auth/device`) {{% code-placeholders "PORT|OAUTH_TOKEN_URL|OAUTH_DEVICE_URL" %}} ```toml diff --git a/content/influxdb/clustered/reference/cli/influxctl/_index.md b/content/influxdb/clustered/reference/cli/influxctl/_index.md index 360062e87..90621d7a5 100644 --- a/content/influxdb/clustered/reference/cli/influxctl/_index.md +++ b/content/influxdb/clustered/reference/cli/influxctl/_index.md @@ -322,9 +322,9 @@ Replace the following values in the sample: - {{% code-placeholder-key %}}`OAUTH_CLIENT_ID`{{% /code-placeholder-key %}}: OAuth client ID - {{% code-placeholder-key %}}`OAUTH_CLIENT_ID`{{% /code-placeholder-key %}}: - OAuth provider token URL (for example: `https://indentityprovider/oauth2/v1/token`) + OAuth provider token URL (for example: `https://indentityprovider/oauth2/v2/token`) - {{% code-placeholder-key %}}`OAUTH_CLIENT_ID`{{% /code-placeholder-key %}}: - OAuth provider device URL (for example: `https://indentityprovider/oauth2/v1/auth/device`) + OAuth provider device URL (for example: `https://indentityprovider/oauth2/v2/auth/device`) {{% /expand %}} {{< /expand-wrapper >}}