You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently using Coder in some of our tests. However, for our use case, we intend to embed the instance within our platform. Is it possible to achieve this today?
When attempting this, we encounter the following issue:
Refused to frame 'https://s6bk5npn0e4j8.pit-1.try.coder.app/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
Is there any alternative or workaround for this?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
It sounds like we might need to add in some controls to configure a more open policy.
With all of these header style protections, a workaround is always there to put a reverse proxy infront of Coder to mutate the headers.
For the CSP in question, frame-ancestors the best solution will be to explictly list the parent website.
@gskolber I can't promise a solution at this very moment, but would a static configuration field to list the parent domain be enough? Meaning, is the root website that embeds Coder a static domain url that could be passed into Coder when you boot Coder? It would be loaded as an ENV var, flag, or something like that.
Hello!
We are currently using Coder in some of our tests. However, for our use case, we intend to embed the instance within our platform. Is it possible to achieve this today?
When attempting this, we encounter the following issue:
Is there any alternative or workaround for this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: