标签: nginx lua openresty
我正在使用openresty和nginx,我正在使用lua在nginx中执行Oauth 2.0授权。我面临的问题是当auth服务器使用“code”链接https://mynginx.com?code=“asdb”重定向到我的nginx时,然后我将其换成令牌。获取令牌后,我将用户proxy_pass传递给目标服务器。但是当我代理传递时,“?code ='asdasd'”坚持使用它。