Skip to content

Commit

Permalink
feat: add proxy_opts attribute for openid-connect (#9922)
Browse files Browse the repository at this point in the history
  • Loading branch information
darksheep404 committed Aug 2, 2023
1 parent 682e638 commit d2cf653
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apisix/plugins/openid-connect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ local schema = {
"header to the request for downstream.",
type = "boolean",
default = false
},
proxy_opts = {
description = "Domain and port of the proxy server,like" ..
"{" ..
"http_proxy: http://your-proxy.com:your-proxy-port," ..
"https_proxy: http://your-proxy.com:your-proxy-port" ..
"}",
type = "object",
default = {}
}
},
encrypt_fields = {"client_secret"},
Expand Down

0 comments on commit d2cf653

Please sign in to comment.