Uh oh!
There was an error while loading. Please reload this page.
feat(FOUR-32734): allow ProcessMaker login in cross-site iframes - #9034
Open
gproly wants to merge 1 commit into
Open
feat(FOUR-32734): allow ProcessMaker login in cross-site iframes#9034gproly wants to merge 1 commit into
gproly wants to merge 1 commit into
Conversation
Set CSP frame-ancestors and relax session cookies (SameSite=None, Secure, partitioned) when IFRAME_EMBEDDING_ENABLED=true and IFRAME_EMBEDDING_ALLOWED_ORIGINS lists parent origins (e.g. http://localhost:8093). Example: pmList embeds PM login via <iframe src="https://127.0.0.5:8092/login" ...></iframe>. Security notes: - Only enable when cross-site embedding is required; disable when not in use. - IFRAME_EMBEDDING_ALLOWED_ORIGINS must list explicit parent origins; empty allowlist does not activate relaxed cookies or CSP. - SameSite=None increases cross-site cookie exposure; CSRF risk is higher—restrict allowed origins to trusted domains only. - In production, only https:// origins are accepted for frame-ancestors (http:// entries are ignored). - Third-party cookie blocking in browsers may still break iframe login; test target browsers and prefer HTTPS on both parent and PM. - Do not use as a substitute for SSO; treat as a narrow integration option. https://processmaker.atlassian.net/browse/FOUR-32734
|
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 freeto 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.





Set CSP frame-ancestors and relax session cookies (SameSite=None, Secure, partitioned) when IFRAME_EMBEDDING_ENABLED=true and IFRAME_EMBEDDING_ALLOWED_ORIGINS lists parent origins (e.g. http://localhost:8093).
Example: pmList embeds PM login via
<iframe src="https://127.0.0.5:8092/login" ...></iframe>.Security notes:
https://processmaker.atlassian.net/browse/FOUR-32734