Refused to display in a frame because it set X-Frame-Options to sameorigin

Hello. I have installed the software following this guide: Installing server version using the provided script - ONLYOFFICE Everything is fine, but when I embed the editor in my own angular app, using the ngx-onlyoffice component, I get the following error message: Refused to display in a frameā€¦