-
Notifications
You must be signed in to change notification settings - Fork 48
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
PXP-8363 Fix/samesite cookie #951
Conversation
The style in this PR agrees with This formatting comment was generated automatically by a script in uc-cdis/wool. |
Pull Request Test Coverage Report for Build 11478
💛 - Coveralls |
@@ -46,7 +46,8 @@ retry = "^0.9.2" | |||
sqlalchemy = "^1.3.3" | |||
storageclient = {git = "https://github.com/uc-cdis/storage-client", rev = "1.0.2"} | |||
userdatamodel = "^2.3.3" | |||
werkzeug = "^0.16.0" | |||
werkzeug = "^1.0.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.
need to bump up this so we can add samesite
in tests
@@ -46,7 +46,8 @@ retry = "^0.9.2" | |||
sqlalchemy = "^1.3.3" | |||
storageclient = {git = "https://github.com/uc-cdis/storage-client", rev = "1.0.2"} | |||
userdatamodel = "^2.3.3" | |||
werkzeug = "^0.16.0" | |||
werkzeug = "^1.0.0" | |||
cachelib = "^0.2.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.
need to add this because the werkzeug
bump
Jira Ticket: PXP-8363
Add
samesite="Lax"
to cookies ofaccess_token
andfence
This shouldn't breaks anything since some browsers (Chrome/Edge) has already been using
Lax
as default value of
samesite
if not declaredTo fix vulnerability documented in Veracode scan report (link in Jira ticket)
Improvements
samesite="Lax"
to cookies ofaccess_token
andfence