Skip to content

[FEATURE] : Add Post Login redirection support for protected routes #117

Description

@AlokPy1484

🐞 Enhancement Feature

Title: "Add Post Login redirection support for protected routes "

🐞 Description

When a non logedIn user clicks on a discussion topic in Discussion Forum page (https://edulume.site/discussions?category=academic) then user is redirected to login page and after login/signup is completed then user is redirected to home page in place of the Discussion Form page.

✅ Feature Explaation

Add support to use a memoryfull url for protected routes such as /login?redirect=/discussions. So when user are redirect to login page then after the login in compleate they are re directed to page where they were before and not to home page

🧩 Steps to Reproduce

Steps to reproduce the issue:

  1. Go to https://edulume.site/discussions
  2. Make sure you are not loged in
  3. Try to open any discussion thread
  4. You will be redirected to login page and after login in compleate you will be back to home page

Metadata

Metadata

Assignees

Labels

Medium30 PointsSWOCIssue available for contributors participating in Social Winter of Code (SWOC).SWoC26Social Winter of Code 2026enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions