Skip to content

[Feature]: Prevent authenticated users from accessing /auth/signin and /auth/register routes #292

@sandeshkhairnar

Description

@sandeshkhairnar

📝 Feature Description

Currently, users who are already authenticated can still access the /auth/signin and /auth/register routes. This may cause confusion or unnecessary navigation overhead.
We want to by automatically redirecting authenticated users away from these pages (e.g., to / ).

💡 Why is this feature needed?

Preventing confusion when users try to log in or register again after already being authenticated.

Reducing unnecessary navigation.

Following a common authentication pattern seen in modern web apps.

Minimizing the risk of edge-case bugs or session conflicts.

📎 Additional Context

No response

✅ Duplicate Check

  • I have searched existing issues to ensure this feature hasn’t already been requested.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions