Infos:
- Used Zammad version: 5.1.x
- Used Zammad installation type: source
- Operating system: Ubuntu 22.04.4 LTS
- Browser + version: Chrome 128.0.6613.120 and Firefox 130
I’m creating a project to incorporate some of our service platforms into the company’s intranet where I work. Among one of them is Zammad.
Looking for answers, I found post #2051 here on the community forum ([solved] Set X-Frame-Options for Zammad to allow iframe).
Following what is in the ticket, I managed to activate the iframe by changing the following fields in the …/action_dispatch/railtie.rb file:
“X-Frame-Options” => “ALLOWALL”,
“X-XSS-Protection” => “0”,
However, when trying to connect to the application using the iframe in Chrome, I can access the login page normally, with no apparent error, but when I enter the access credentials, the error “CSRF token verification failed!” is presenting.
I carried out a separate test using the iframe in Firefox, and I was able to log in normally to the application.
Has anyone gone through this? Is there anything that can be done to achieve this authentication in Chrome?
Note: Outside of the iframe, I can use the application normally in Chrome, only using the iframe that is showing the error.