Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth/oidc: Adds documentation for SecureAuth IdP (#16274)
- Loading branch information
1 parent
a7c056c
commit becb821
Showing
5 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:feature | ||
auth/oidc: Adds support for group membership parsing when using SecureAuth as an OIDC provider. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
website/content/docs/auth/jwt/oidc-providers/secureauth.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
layout: docs | ||
page_title: OIDC Provider Setup - Auth Methods - SecureAuth | ||
description: OIDC provider configuration for SecureAuth | ||
--- | ||
|
||
## SecureAuth | ||
|
||
The [SecureAuth](https://www.secureauth.com/) identity provider returns group membership | ||
claims as a comma-separated list of strings (e.g. `groups: "group-1,group-2"`) instead | ||
of a list of strings. | ||
|
||
To properly obtain group membership when using SecureAuth as the identity provider for | ||
Vault's OIDC Auth Method, the `secureauth` provider must be explicitly configured as | ||
shown below. | ||
|
||
```shell | ||
vault write auth/oidc/config -<<"EOH" | ||
{ | ||
"oidc_client_id": "your_client_id", | ||
"oidc_client_secret": "your_client_secret", | ||
"default_role": "your_default_role", | ||
"oidc_discovery_url": "https://idp.sasp.gosecureauth.com/your_secure_auth", | ||
"provider_config": { | ||
"provider": "secureauth" | ||
} | ||
} | ||
EOH | ||
``` | ||
|
||
This will instruct the OIDC Auth Method to parse the comma-separated groups claims string | ||
into individual groups. Note that the role's [`groups_claim`](/api-docs/auth/jwt#groups_claim) | ||
value must be properly configured to target the groups claim for your SecureAuth identity | ||
provider. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters