Skip to content

Commit

Permalink
docs: update realm attribute description in OIDC plugin (#10492)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayx23 authored Nov 15, 2023
1 parent 4aeda49 commit 44b1a48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/latest/plugins/openid-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ description: OpenID Connect allows the client to obtain user information from th
| client_secret | string | True | | | OAuth client secret. |
| discovery | string | True | | | Discovery endpoint URL of the identity server. |
| scope | string | False | "openid" | | Scope used for authentication. |
| realm | string | False | "apisix" | | Realm used for authentication. |
| realm | string | False | "apisix" | | Realm in [`WWW-Authenticate` response header](https://www.rfc-editor.org/rfc/rfc6750#section-3) accompanying an unauthorized request due to invalid bearer token. |
| bearer_only | boolean | False | false | | When set to `true`, APISIX will only check if the authorization header in the request matches a bearer token. |
| logout_path | string | False | "/logout" | | Path for logging out. |
| post_logout_redirect_uri | string | False | | | URL to redirect to after logging out. |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/latest/plugins/openid-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ description: OpenID Connect(OIDC)是基于 OAuth 2.0 的身份认证协议
| client_secret | string || | | OAuth 客户端 secret。 |
| discovery | string || | | 身份认证服务暴露的服务发现端点。 |
| scope | string || "openid" | | 用于认证的范围。 |
| realm | string || "apisix" | | 与租户概念类似,不同 Realm 之间是相互隔离的,只能管理和验证它们所具有的用户。 |
| realm | string || "apisix" | | bearer token 无效时 [`WWW-Authenticate` 响应头](https://www.rfc-editor.org/rfc/rfc6750#section-3)中会伴随着的 `realm` 讯息。 |
| bearer_only | boolean || false | | 当设置为 `true` 时,将仅检查请求头中的令牌(Token)。 |
| logout_path | string || "/logout" | | 登出路径。 |
| post_logout_redirect_uri | string || | | 调用登出接口后想要跳转的 URL。 |
Expand Down

0 comments on commit 44b1a48

Please sign in to comment.