-
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
feat(cookies): always set httponly flag on cookies (also update deps) PXP-7593 #872
Conversation
The style in this PR agrees with This formatting comment was generated automatically by a script in uc-cdis/wool. |
tests/session/test_session.py
Outdated
client.set_cookie("localhost", config["SESSION_COOKIE_NAME"], test_session_jwt) | ||
client.set_cookie( | ||
"localhost", config["SESSION_COOKIE_NAME"], test_session_jwt, httponly=True | ||
) | ||
client.set_cookie( | ||
"localhost", config["ACCESS_TOKEN_COOKIE_NAME"], test_access_jwt |
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.
what about this one?
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.
good catch! fixing
tests/session/test_session.py
Outdated
client.set_cookie("localhost", config["SESSION_COOKIE_NAME"], test_session_jwt) | ||
client.set_cookie( | ||
"localhost", config["SESSION_COOKIE_NAME"], test_session_jwt, httponly=True | ||
) | ||
client.set_cookie( | ||
"localhost", config["ACCESS_TOKEN_COOKIE_NAME"], test_access_jwt |
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.
and this one?
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.
good catch! fixing
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes