django / django/code.djangoproject.com

Login flow redirects to landing page instead of previous page

Open
#195 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
66
Forks
62
PR merge metrics
No merged PRs in 30d

Description

I noticed today that the login process seems to lose track of where the user is coming from:

- Visit a ticket page while not logged in
- Click "Login" in the navigation
- Choose "log in with github"

Once login is successful, I find myself redirected to the root page `/` and not the ticket page that I was browsing when I clicked the "Login" link.

It's slightly annoying and I think it should be fixable by passing the right redirection URL to the login page (via a GET parameter).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.