Skip to content

Allow Sessions to support secure cookie settings#211

Merged
ringabout merged 1 commit intoplanety:develfrom
ranok:devel
Feb 24, 2023
Merged

Allow Sessions to support secure cookie settings#211
ringabout merged 1 commit intoplanety:develfrom
ranok:devel

Conversation

@ranok
Copy link
Copy Markdown
Contributor

@ranok ranok commented Feb 23, 2023

I have built a small web-app based on Prologue that is integrated with a legacy site in an iframe. The iframe "drops" the sessions since the sameSite is set to Lax, and if it's set to None, the secure flag must be set as well, which is impossible without exposing that parameter to the session init caller.

Running with these changes and an associated modification to the cookiejar package allows the web application to function as expected within an iframe.

@ringabout ringabout merged commit efb1284 into planety:devel Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants