IFrame problem ohif+keycloak on Chrome

I’m trying to set up OHIF protected with Keycloak (done by the OpenResty-Orthanc-Keycloak recipe) and use it as an iframe in my app, and only in Google Chrome the following error appears after login:

Chrome log

Keycloak log

In Firefox it works fine, does anyone know what could be wrong? From the log, it seems that Chrome is sending a null username and password and ignoring the input labels.

What steps can we follow to reproduce the bug?

  1. Install ohif + keycloak
  2. Try to load it from an iframe
  3. try to login with the user you created on keycloak