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

NEW
Unassigned

Status

P3
normal
3 years ago
3 years ago

People

(Reporter: glandium, Unassigned)

Tracking

Details

(Whiteboard: [to be fixed in core])

(Reporter)

Description

3 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.

Comment 1

3 years ago
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)

Updated

3 years ago
Priority: -- → P3

Updated

3 years ago
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)
(Assignee)

Updated

3 years ago
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.