Skip to content

πŸ”‘ Migrate Authentication RoutesΒ #32

Description

@zainphp

Refactor authentication routes to simplify URLs and improve user experience. Current routes are nested under /auth/... and will be migrated to root-level routes.

βœ… Tasks

  • Move /auth/login β†’ /login
  • Move /auth/register β†’ /register
  • Move /auth/logout β†’ /logout
  • Move /auth/email-verification β†’ /email-verification
  • Update navigation links/buttons across the app to use new paths
  • Adjust redirects in authentication logic (login success, logout, registration)
  • Remove or deprecate old /auth/... routes to avoid duplication

πŸ“Œ Notes

  • Use Next.js App Router conventions (folders under app/) for clean URLs.
  • Ensure compatibility with better-auth integration.
  • Double-check email verification and OAuth callback flows still work after migration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🌐 MARKETINGEverything about the landing page: design, content, navigation, and SEO optimization.πŸ”‘ USER & AUTHUser accounts, authentication (email & OAuth), profiles, and account security.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions