Skip to content

Commit

Permalink
auth/oidc: documents redirect URI for UI login with form_post respons…
Browse files Browse the repository at this point in the history
…e_mode (#12273)
  • Loading branch information
austingebauer committed Aug 5, 2021
1 parent b6ffe28 commit 5cb6e63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/content/docs/auth/jwt/index.mdx
Expand Up @@ -140,11 +140,17 @@ of the configured redirected URIs. These same "localhost" URIs must be added to
**Vault UI**

Logging in via the Vault UI requires a redirect URI of the form:

`https://{host:port}/ui/vault/auth/{path}/oidc/callback`

The "host:port" must be correct for the Vault server, and "path" must match the path the JWT
backend is mounted at (e.g. "oidc" or "jwt").

If the [oidc_response_mode](/api-docs/auth/jwt#oidc_response_mode) is set to `form_post`, then
logging in via the Vault UI requires a redirect URI of the form:

`https://{host:port}/v1/auth/{path}/oidc/callback`

Prior to Vault 1.6, if [namespaces](/docs/enterprise/namespaces) are in use,
they must be added as query parameters, for example:

Expand Down

0 comments on commit 5cb6e63

Please sign in to comment.