Embed Jupyterhub in a Desktop app

I am new to Jupyterhub and need some help embedding it in a Desktop app. I am using Angular 7 and Electron to create Windows and Mac and apps. I am running Jupyterhub in a server and want to embed it in my app using iframe. however, it throws following error:

Refused to display ‘https://jupyterhuburlhere/’ in a frame because an ancestor violates the following Content Security Policy directive: “frame-ancestors *”.

can anyone suggest me with correct settings in Jupyterhub so that it can be embedded using iframe in a Desktop app?

Ps. webview works but I need to use iframe because two way communication is required in my use-case.

Thanks in advance!