Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix auth jwt role aud requirements #2259

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions website/docs/r/jwt_auth_backend_role.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ The following arguments are supported:

* `role_type` - (Optional) Type of role, either "oidc" (default) or "jwt".

* `bound_audiences` - (For "jwt" roles, at least one of `bound_audiences`, `bound_subject`, `bound_claims`
or `token_bound_cidrs` is required. Optional for "oidc" roles.) List of `aud` claims to match against.
Any match is sufficient.
* `bound_audiences` - (Required for roles of type `jwt`, optional for roles of
type `oidc`) List of `aud` claims to match against. Any match is sufficient.

* `user_claim` - (Required) The claim to use to uniquely identify
the user; this will be used as the name for the Identity entity alias created
Expand Down