Repository navigation
docs: document accepted values for APPSMITH_ALLOWED_FRAME_ANCESTORS - #3130
Merged
Merged
Conversation
From v2.7.1, Appsmith uses the frame-ancestors setting only when it is a space-separated list of CSP frame-ancestors sources (appsmithorg/appsmith#42622). Document the accepted forms, the fallback to 'self' and its log line, the Admin Settings save error, and a troubleshooting entry for embeds that stop working after upgrade. Correct the instance settings page, which said the value is enforced through X-Frame-Options; only Content-Security-Policy is set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sebastianiv21
marked this pull request as ready for review
December 3, 2026 21:30
sebastianiv21
deleted the
agent/docs-asm-117-frame-ancestors-validation
branch
December 3, 2026 21:30
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
From v2.7.1, Appsmith uses
APPSMITH_ALLOWED_FRAME_ANCESTORS(Admin Settings → Embed settings → Limit embedding to certain URLs) only when the value is a space-separated list of CSPframe-ancestorssources. Any other value falls back to'self'after restart, and saving it in Admin Settings fails. This PR documents that.Source: appsmithorg/appsmith#42622 (in tags
v2.7.1and later). Rules taken fromdeploy/docker/fs/opt/appsmith/caddy-reconfigure.mjsandEnvManagerCEImpl.javaonrelease.Changes
getting-started/setup/environment-variables.md'self',*, scheme, host source with optional scheme,*.label, port, path),'none'only alone, empty means'self'. A:::cautionwith the v2.7.1 fallback, the exact container log line, and a "Not accepted → Use instead" table.getting-started/setup/instance-configuration/instance-settings.mdPlease enter a valid parameter Allowed frame ancestors.Replaces theX-Frame-Optionsclaim: onlyContent-Security-Policyis set (noX-Frame-Optionsindeploy/or server code onrelease).help-and-support/troubleshooting-guide/embedding-csp-errors.mdadvanced-concepts/embed-appsmith-into-existing-application.mdxVerification
normalizeFrameAncestorscopied verbatim fromcaddy-reconfigure.mjsonrelease: 20 "accepted" examples accepted, 7 "not accepted" examples rejected.npm run buildinwebsite/: success. No broken-link or broken-anchor warnings for#appsmith_allowed_frame_ancestorsor the new links. The anchor exists in the built page.instance-settings.md(e.g., en dash). None on the edited lines.Screenshots
None. No new images.
🤖 Generated with Claude Code