Error message when opening/creating a document from update

Yes we can say that it solves the problem, even if I am not entirely satisfied with the solution because of lowering the security level.

It is not possible to authorize the headers that come from Onlyoffice as it is done for the JWT_HEADER in the configuration files of Nextcloud?