Im using an iframe to show my app that doesnt require sign-in in my web, it worked fine for a month bot now it shows this error:
Refused to frame 'https://www.appsheet.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
Does AppSheet no longer allow embedding in an iframe?
Yes, AppSheet no longer allows embedding apps in an iframe due to Content Security Policy (CSP) restrictions. The error message:
"Refused to frame 'https://www.appsheet.com/' because an ancestor violates the following Content Security Policy directive: 'frame-ancestors self'."
indicates that AppSheet has updated its CSP settings to block embedding on external websites.
Previously, AppSheet allowed iframes, but they have likely updated their security policies to prevent embedding due to potential security risks.
Since iframes are now blocked, here are some alternatives:
If embedding is essential for your use case, try reaching out to AppSheet support to check if they offer any iframe permissions for enterprise users.
Public apps should still allow for embedding in iframes in any domain, unlike apps that require sign-in that are limited to a subset of allowed domains, currently only Google Sites.
There was a bug while the feature was rolling out where the `AllowInIFrame` flag was automatically set to off for public apps that should have since been resolved - that flag will currently always be on for public apps for now. Apologies for the temporary breakage.
User | Count |
---|---|
16 | |
12 | |
8 | |
4 | |
2 |