-
Notifications
You must be signed in to change notification settings - Fork 404
Description
🧩 Summary
Implement authentication-based access control to ensure that the dashboard page remains locked for unauthenticated users. Only users who have successfully logged in or signed up should be able to view or interact with the dashboard.
🎯 Motivation
Currently, the dashboard can be accessed without verifying user authentication, which poses potential security and privacy risks.
By restricting access to authenticated users only, we can:
Prevent unauthorized data exposure
Maintain a consistent and secure user experience
Strengthen the overall application’s access control mechanism
💡 Possible Solution
Implement authentication middleware (for backend routes) or route guards (for frontend routes).
Verify if a valid user session, token, or cookie exists before allowing dashboard access.
Redirect unauthenticated users to the Login or Signup page.
Optionally, show a toast or alert message like “Please log in to continue.”
🧱 Additional Context
This feature aligns with best practices for user authentication and session security.
It will enhance the app’s reliability and help prepare for future role-based access control (RBAC) features.
This issue is being raised under GSSoC '25 (GirlScript Summer of Code).
🚀 Request
I’d love to work on this issue under GSSoC '25.
Please assign it to me so I can begin the implementation. 🙌
🏷️ Tags:
GSSoC25 enhancement authentication backend frontend security