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/upgrade flask #371
Fix/upgrade flask #371
Conversation
The style in this PR agrees with This formatting comment was generated automatically by a script in uc-cdis/wool. |
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.
Outside of the flask version update and poetry lock, the only other change is ensuring Basic authorization is used before going through the username/password authz path rather than just relying on the presence of the authorization header in the request.
Approved.
current_app.auth.auth( | ||
request.authorization.username, request.authorization.password | ||
request.authorization.parameters.get("username"), | ||
request.authorization.parameters.get("password"), |
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 change is needed after upgrading werkzeug (upgrades to Authorization object).
Jira Ticket: PPS-655
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes