Logging in doesn't bring back to where the user was

RESOLVED INVALID

Status

defect
P3
normal
RESOLVED INVALID
4 years ago
6 months ago

People

(Reporter: glandium, Unassigned)

Tracking

Details

(Whiteboard: [to be fixed in core])

(Reporter)

Description

4 years ago
I was trying to add a comment on RB, but ended up not being logged in (presumably because that was my first time since the switch to BZ auth). I was presented with a popup with a link to login, which I clicked. That automatically logged in without asking for anything (thanks BZ cookies), and redirected to https://reviewboard.mozilla.org/dashboard/ instead of the review I was on originally.
The login process is supposed to pass the original URL to Bugzilla and should redirect you back to the original location. I've seen this work.

This particular scenario is slightly special. Trying to leave a comment when not logged in opens up a dialog with a text "log in" link to https://reviewboard.mozilla.org/account/login/. That page will redirect you and the redirect back to MozReview will send you to the dashboard. So the bug is with the text link on the pop-up dialog not containing any "back to" context. This feels like an upstream bug.

It might be possible for us to hack around this by having that dialog redirect you to Bugzilla with an appropriate "back to" URL in the HTTP request.
Flags: needinfo?(smacleod)
Priority: -- → P3
Whiteboard: [to be fixed in core]
Ya this is definitely a core bug. I'm unsure if it's worth hacking around ourselves, we might want to just submit an easy patch upstream.
Flags: needinfo?(smacleod)
Product: Developer Services → MozReview

Comment 3

6 months ago
MozReview is now obsolete. Please use Phabricator instead. Closing this bug.
Status: NEW → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.