docs: add proxy_opts attribute for openid-connect.md (#9922) #9938
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
update openid-connect docs, add attribute proxy-opts,which enable openid-connect access oauth2 server with http-proxy sever
更新openid-connect 文档 添加属性 proxy-opts,通过配置此属性 可以使得openid-connect 使用代理服务器访问 配置的oauth2服务器
Fixes # (issue)
#9922
hi @Sn0rt
Can you please help me to review this PR
After our last discussion, by reading the
openid-connect.lua
andopenidc.lua
source code I found the available configuration items and tested them in my online environmentIf there is no problem, I will update it to the document the LTS version too.
But there seems to be no better way for me to update all the documentation at once than to give each release a PR
你可以帮我review这个PR吗
在我们上次讨论之后 通过阅读openid-connet与openid的源码 我找到了可用的配置项,并且在我的线上环测试过是可行的
如果没问题的话 我会再把它更新到LTS版本的文档
不过似乎我没有更好的方式去一次性更新所有文档 除了给每个版本都提一次PR
Here is a simple diagram,the plugin config of
openid-connect
will be passed toopenidc.lua
asopts
,and will be used to set_proxy_options这里是一个简单的图,openid-connect 插件的配置 将会被传递给
openidc.lua
文件作为opts
,并被用来 指定代理服务器Checklist