You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/08/08 12:36:36 UTC

[apisix] branch master updated: docs(openid-connect): sync attributes (#4775)

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

spacewander 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 1414cba  docs(openid-connect): sync attributes (#4775)
1414cba is described below

commit 1414cba4272292faea0c25ba13d50b168eb5b681
Author: okaybase <75...@users.noreply.github.com>
AuthorDate: Sun Aug 8 20:36:27 2021 +0800

    docs(openid-connect): sync attributes (#4775)
    
    Co-authored-by: 琚致远 <ju...@apache.org>
---
 docs/zh/latest/plugins/openid-connect.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/zh/latest/plugins/openid-connect.md b/docs/zh/latest/plugins/openid-connect.md
index 94e46ba..e7e407d 100644
--- a/docs/zh/latest/plugins/openid-connect.md
+++ b/docs/zh/latest/plugins/openid-connect.md
@@ -52,6 +52,10 @@ OAuth 2 / Open ID Connect(OIDC)插件为 APISIX 提供身份验证和自省
 | introspection_endpoint_auth_method | string  | 可选   | "client_secret_basic" |         | 令牌自省的认证方法名称                         |
 | public_key                         | string  | 可选   |                       |         | 验证令牌的公钥                                 |
 | token_signing_alg_values_expected  | string  | 可选   |                       |         | 用于对令牌进行签名的算法                       |
+| set_access_token_header              | boolean | 可选    | true               |         | 在请求头设置访问令牌                        |
+| access_token_in_authorization_header | boolean | 可选    | false              |         | 当值为 `true` 时,将访问令牌设置在请求头参数 `Authorization`,否则将使用请求头参数 `X-Access-Token`。|
+| set_id_token_header                  | boolean | 可选    | true               |         | 是否将 ID 令牌设置到请求头参数 `X-ID-Token`    |
+| set_userinfo_header                  | boolean | 可选    | true               |         | 是否将用户信息对象设置到请求头参数 `X-Userinfo`    |
 
 ### 令牌自省