apache/apisix

bug: Two sessions shown when using openid-connect

Opened this issue · 1 comments

Current Behavior

We see two sessions 'session' and 'session_2' being set as cookies when using openid-connect. Wanted to understand why session_2 is being set as well.

Expected Behavior

Expected to see only one cookie 'session' being set.

Error Logs

Two_session_cookies

Steps to Reproduce

Sample Code:
image

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):

@juzhiyuan - Could you please take a look at above issue?