Allow all rbt commands to authenticate using web-based login.
Review Request #14576 — Created Sept. 8, 2025 and updated — Latest diff uploaded
This is the final change in a series of changes that ultimately allow
using web-based login for authentication in any rbt command.We pass a web login callback function through to the
ReviewBoardHTTPPasswordMgrwhere our other auth callbacks live. We
also add aReviewBoardWebLoginHandlerauth handler which attempts
web-based login once upon the first HTTP 401. If it fails, we fall back
on our existing handlers.
- Tested
rbt postandrbt statuspassing--web-loginto log in to
a local dev server. - Tested
rbt postandrbt statuspassing--web-loginto log in to
the real https://reviews.reviewboard.org server. - In the above tests, made sure that the
ReviewBoardWebLoginHandler
auth handler logic was reached byrbt post, and the
get_authenticated_sessionlogic was reached byrbt status. - Tested on RB6 and RB7.1.
- Ran unit tests and add unit tests in an upcoming change.