This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 44b1a4845 docs: update `realm` attribute description in OIDC plugin 
(#10492)
44b1a4845 is described below

commit 44b1a4845f743885d64e93599e605c7fedf078b0
Author: Traky Deng <[email protected]>
AuthorDate: Wed Nov 15 04:40:02 2023 -0800

    docs: update `realm` attribute description in OIDC plugin (#10492)
---
 docs/en/latest/plugins/openid-connect.md | 2 +-
 docs/zh/latest/plugins/openid-connect.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/plugins/openid-connect.md 
b/docs/en/latest/plugins/openid-connect.md
index 0130d1921..486001a93 100644
--- a/docs/en/latest/plugins/openid-connect.md
+++ b/docs/en/latest/plugins/openid-connect.md
@@ -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.                     
                                                               |
diff --git a/docs/zh/latest/plugins/openid-connect.md 
b/docs/zh/latest/plugins/openid-connect.md
index 9355f951e..3fbe9fc0d 100644
--- a/docs/zh/latest/plugins/openid-connect.md
+++ b/docs/zh/latest/plugins/openid-connect.md
@@ -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。                                           
                          |

Reply via email to