Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: openid-connect gives error when targetUrl and redirectUrl are same #11713

Open
arnab-sharma opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@arnab-sharma
Copy link

arnab-sharma commented Nov 5, 2024

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.
ApisixError_openid-connect

Expected Behavior

openid-connect works when targetUrl and redirectUrl are same.

Error Logs

ApisixError_openid-connect

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):
@arnab-sharma
Copy link
Author

@juzhiyuan - If you could please take a look into this.

@dosubot dosubot bot added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant