Closed
Bug 723625
Opened 14 years ago
Closed 13 years ago
browserid: redirect sign-ins away from /users/login
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2.3
People
(Reporter: groovecoder, Assigned: groovecoder)
References
Details
(Whiteboard: u=user c=browserid p=2)
Going to /users/login logs the user out. Never send a user to /users/login as part of the login flow. Send them to the home page instead.
Assignee | ||
Comment 1•14 years ago
|
||
First request to /users/login should capture the referring url and send THAT to browserid for the ultimate redirection, not the /users/login url again.
Comment 2•14 years ago
|
||
My $0.02:
When already logged in: Instead of sending them to home, remove the logout code and display a message saying something like "You're already logged in." Might be confusing to a user... eg. "How'd I end up on the home page?"
When logging in: Yeah, we should capture the ?next or referer in the session on the first hit and then ultimately redirect to that on successful login. Unless the URL captured is empty or /users/login itself - in which case, we should bounce to home page. (Seems not as confusing in this case)
Assignee | ||
Updated•14 years ago
|
Whiteboard: u=user c=browserid p= → u=user c=browserid p=2
My related flow failure:
to reproduce:
0. (while logged out)
1. url: https://developer.mozilla.org/en/Observer_Notifications # for example
2. EDIT -> redirects to https://developer.mozilla.org/en-US/users/login
3. sign-in -> browser id popup.
4. (do that). Nothing on the page changes. No redirect, no change to the 'top nav' area.
5. (sometimes) if I go back to the original page and 'hard refresh' it updates.
Expected:
after step 4, expected redirect to the intital page with credentials (prefered), OR credentials to be reflected
in the top nav area OR redirect to a "you're logged in, awesome!" page.
Comment 4•14 years ago
|
||
Another URL TO consider: /users/browserid_register
If this is the session-captured next or referer URL, we should redirect to home instead. I've had a few cases where I get sent back to that page when I follow up an login with an unknown email by an email for which I do have an account.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lcrouch
Comment 5•14 years ago
|
||
Commits pushed to mdn at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/49f771fe58fe41058aad28807e378862479e93ba
Bug 723625 fix _clean_next_url for login urls
include browserid_register as a looping link
https://github.com/mozilla/kuma/commit/e2325b1ba41f84e6c99c0b20b4bb8c8f02b6adc5
Merge pull request #111 from groovecoder/723625-users-login-redirects
Bug 723625 fix _clean_next_url for login urls
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
I don't think we're capturing the ?next into a session, and so the info gets lost on the way through the registration process
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•13 years ago
|
Target Milestone: 2.3 → 2.4
Comment 8•13 years ago
|
||
Commits pushed to mdn_prod at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/49f771fe58fe41058aad28807e378862479e93ba
Bug 723625 fix _clean_next_url for login urls
https://github.com/mozilla/kuma/commit/e2325b1ba41f84e6c99c0b20b4bb8c8f02b6adc5
Merge pull request #111 from groovecoder/723625-users-login-redirects
Assignee | ||
Comment 9•13 years ago
|
||
Duh. This is still 2.3 bug.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 13 years ago
Resolution: --- → FIXED
Target Milestone: 2.4 → 2.3
Comment 10•13 years ago
|
||
qa-verified-stage9 https://developer-stage9.mozilla.org/en/Observer+Notifications redirect works after sign in
Comment 11•13 years ago
|
||
verified fixed https://developer.mozilla.org/en/Observer+Notifications
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Website → Landing pages
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•