Skip to content

bug: Two sessions shown when using openid-connect #11711

Description

@arnab-sharma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions