How to resolve multiple Iframe authentication requests in a clustered environment
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Environment
- Liferay DXP (any version)
Resolution
- This issue is caused by a mismatch in SameSite values being applied between the application server's cookies and the web server's cookies. To resolve this:
- Evaluate the SameSite values for your configured domains
- Align those values with their associated cookies
- If you prefer to use DXP inside Iframes and disable SameSite functionality, ensure that CORS and CSRF protection are configured correctly to mitigate cross-site requests.
did-this-article-resolve-your-issue