-
Notifications
You must be signed in to change notification settings - Fork 15
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
[FEATURE] Redirect Users to Original Page After Login #24
Comments
i would like to contribute to it assign this issue to me |
Sure @prajwal2431 Go Ahead, but make sure you PR to |
Ohk I will make a pr to dev branch |
@prajwal2431 are you still on it? |
Sorry I was busy with some project work will go tommarrow for sure |
You can assign that issue to me |
assign this issue to me |
feel free to raise pr |
@prajwal2431 are you still on it? |
assign this issue to me |
@harshdwivediiiii assigned |
Description
Currently, when a user's session expires and they are redirected to the login page, they are not taken back to the page they were trying to access after logging in. This can lead to a frustrating user experience.
Proposed Solution
To improve the user experience, we propose implementing a redirect feature that sends users back to the page they originally requested after successful login. This can be done using a query parameter (e.g.,
?next=...
) in the URL.Capture Original URL:
?next=<original_url>
) to the login page URL.Handle Redirect After Login:
next
parameter in the URL.Benefits
Additional Notes
Consider implementing this feature in conjunction with existing session management and authentication logic to ensure consistency.
The text was updated successfully, but these errors were encountered: