-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(editor): Prevent Safari users from accessing the frontend over insecure contexts #10510
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left a comment but good to go otherwise
@@ -44,6 +44,7 @@ | |||
"@vueuse/components": "^10.11.0", | |||
"@vueuse/core": "^10.11.0", | |||
"axios": "catalog:", | |||
"bowser": "2.11.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we implement this without adding additional dependency just to detect Safari?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This is already a transitive dependency (check the lockfile changes)
- This adds about 5KB to the bundle before any tree-shaking
Test summaryRun details
Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud |
✅ All Cypress E2E specs passed |
Got released with |
Summary
Safari currently does not allow using secure cookies on localhost. This prevents anyone running n8n locally without https from accessing the frontend since all they ever see is the login screen, despite trying to logging-in multiple times.
Since the application cannot function this way, this PR updates the secure-cookie frontend check to also include a check for safari now.
Related Linear tickets, Github issues, and Community forum posts
ADO-2400
Review / Merge checklist