arnab-sharma opened a new issue, #11713:
URL: https://github.com/apache/apisix/issues/11713

   ### 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](https://github.com/user-attachments/assets/fda54b3f-d79c-4530-8a52-d57c93085c2c)
   
   
   ### Expected Behavior
   
   openid-connect works when targetUrl and redirectUrl are same.
   
   ### Error Logs
   
   
![ApisixError_openid-connect](https://github.com/user-attachments/assets/bc2e6c5b-3724-4275-a68c-15e5daf8ffc4)
   
   
   ### Steps to Reproduce
   
   Enable openid-connect for same targetUrl and redirectURL. e.g: 
/auth/login/v2.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to