Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to Original URL After Session Expiry and Re-login #6486

Closed
Ashesh3 opened this issue Oct 24, 2023 · 2 comments · Fixed by #6495
Closed

Redirect to Original URL After Session Expiry and Re-login #6486

Ashesh3 opened this issue Oct 24, 2023 · 2 comments · Fixed by #6495
Assignees
Labels
good first issue Good for newcomers

Comments

@Ashesh3
Copy link
Member

Ashesh3 commented Oct 24, 2023

Issue:

Currently, when a user's session expires on a specific page, they are correctly redirected to the "Session Expired" page which subsequently leads them to the login page. However, after re-logging in, instead of being redirected to their last active page (where their session had expired), they are taken to the home page. This disrupts user flow and can lead to confusion or a poor user experience.

Expected Behavior:

Upon re-login after a session expiry, users should be redirected to the URL of their last active page, thereby preserving the context of their work or activity.

Steps to Reproduce:

  1. Navigate to any page in the application.
  2. Wait for the session to expire.
  3. You'll be redirected to the session expired page.
  4. Proceed to the login page.
  5. After logging in, observe that you're taken to the home page instead of the page where the session had originally expired.

Potential Solution:

Preserve the URL of the page where the session expires and utilize this URL to redirect the user post re-login.

@Ashesh3 Ashesh3 added the good first issue Good for newcomers label Oct 24, 2023
@github-project-automation github-project-automation bot moved this to Triage in Care Oct 24, 2023
@AshrafMd-1
Copy link
Contributor

I would like to take up this issue .

@Ashesh3 Ashesh3 assigned Ashesh3 and AshrafMd-1 and unassigned Ashesh3 Oct 24, 2023
@Ashesh3
Copy link
Member Author

Ashesh3 commented Oct 24, 2023

I would like to take up this issue .

Assigned it to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants