openid-connect plugin gives error when targetUrl and redirectUrl are same. Error we get is "request to the redirect_uri path but there's no session state found".I can see session cookie. Still we see the error.
Expected Behavior
openid-connect works when targetUrl and redirectUrl are same.
Error Logs
Steps to Reproduce
Enable openid-connect for same targetUrl and redirectURL. e.g: /auth/login/v2.
Environment
APISIX version (run apisix version): 3.9.1
Operating system (run uname -a): Kubernetes-compatible Linux x86
OpenResty / Nginx version (run openresty -V or nginx -V):
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.10
APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
Current Behavior
openid-connect plugin gives error when targetUrl and redirectUrl are same. Error we get is "request to the redirect_uri path but there's no session state found".I can see session cookie. Still we see the error.
Expected Behavior
openid-connect works when targetUrl and redirectUrl are same.
Error Logs
Steps to Reproduce
Enable openid-connect for same targetUrl and redirectURL. e.g: /auth/login/v2.
Environment
apisix version
): 3.9.1uname -a
): Kubernetes-compatible Linux x86openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
): 3.5.10luarocks --version
):