SylviaBABY commented on code in PR #1045: URL: https://github.com/apache/apisix-website/pull/1045#discussion_r853920616
########## website/i18n/zh/docusaurus-plugin-content-blog/2022/04/20/weekly-report-0420.md: ########## @@ -0,0 +1,84 @@ +--- +title: "社区双周报|4.1-4.14 功能亮点更新进行中" +keywords: +- Apache APISIX +- API 网关 +- 社区周报 +- 贡献者 +description: “独行者速,众行者远”。Apache APISIX 社区周报希望可以帮助社区小伙伴们更好地掌握 Apache APISIX 社区的每周进展,方便大家参与到 Apache APISIX 社区中来。 +tags: [Events] +--- + +> 从 4.1 到 4.14, 有 36 位开发者为 Apache APISIX 提交了 75 个 commits。感谢这些小伙伴为 Apache APISIX 添砖加瓦,是你们的无私付出,让 Apache APISIX 项目变得更好! + +<!--truncate--> + +## 导语 + +Apache APISIX 从开源第一天就以社区方式成长,迅速成为全世界最活跃的开源 API 网关项目。这些成就,离不开社区小伙伴们的共同奋斗。 + +“独行者速,众行者远”。Apache APISIX 社区周报希望可以帮助社区小伙伴们更好地掌握 Apache APISIX 社区的进展,方便大家参与到 Apache APISIX 社区中来。 + +我们还整理了一些适合新来社区的小伙伴们参加的 issue!感兴趣的同学们,走过路过不要错过! + +## 贡献者统计 + + + + + +## Good first issue + +### Issue #6803 + +**链接**: https://github.com/apache/apisix/issues/6803 + +**问题描述**:当用户在 Apache APISIX 中使用 openid-connect 插件时,使用了错误的 redirect_uri ,如下: + +```Bash + "plugins":{ + "openid-connect":{ + ... + "scope":"openid profile", + "bearer_only":false, + "introspection_endpoint_auth_method":"client_secret_post", + "redirect_uri":"http://127.0.0.1:9080/" + ... + } + }, +``` + +然后请求 "127.0.0.1:9080/",将跳转到 500 页面,错误日志如下: + + + +```YAML +2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openidc.lua:1378: authenticate(): request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080" +2022/04/07 17:13:50 [error] 31780#3492140: *1959 [lua] openid-connect.lua:304: phase_func(): OIDC authentication failed: request to the redirect_uri path but there's no session state found, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", host: "127.0.0.1:9080" +``` + +这样的日志非常不清楚,并且用户不知道会发生什么。所以应该改进错误日志,以提高使用 openid-connect 插件的体验。 Review Comment: ```suggestion 这样的日志非常不清楚,并且用户不知道会发生什么。所以应该改进错误日志,以提高使用 `openid-connect` 插件的体验。 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
