amberlipp commented on issue #13031:
URL: https://github.com/apache/apisix/issues/13031#issuecomment-3957992912

   Problem Description
   The business system sets a cookie with the key session.
   APISIX is deployed and integrated with an OIDC identity provider.
   APISIX passes the authenticated identity to the backend business system via 
request headers.
   After successful APISIX SSO (OIDC) authentication, APISIX also generates a 
cookie named session.
   When the backend business system responds, it sets its own session cookie, 
which overwrites the session cookie created by APISIX.
   Root Cause
   The APISIX OpenID Connect plugin currently uses a fixed cookie name session 
and does not support customizing the cookie name via configuration.
   When the backend application also uses a cookie named session, the two 
cookies conflict and overwrite each other, causing login state loss or SSO 
failure.
   Suggestion
   Add a configurable name field under session in the OIDC plugin schema, so 
users can customize the cookie name (e.g., apisix_session, oidc_session) to 
avoid conflict with the backend business system’s session cookie.


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