jorge-menjivar / unsaged

Open source chat kit engineered for seamless interaction with AI models.

Home Page:https://unsaged.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Help Needed] Transition from NextAuth to Supabase Auth for User Authentication

daniel-farina opened this issue · comments

Objective

The project is looking to migrate from NextAuth to Supabase Auth for handling user authentication. This change aims to leverage Supabase Auth's features and streamline our backend services.

Key Deliverables

  • Remove NextAuth and integrate Supabase Auth as the sole authentication solution.
  • Update all authentication-related code to work with Supabase Auth API.
  • Ensure that the authentication flow is fully functional with Supabase Auth, including login, registration, and session management.

Success Criteria

  • A seamless authentication experience similar to or better than the current system.
  • No regression in performance or user experience.
  • Clear documentation on the migration process and changes made.

Contribution Instructions

  1. Indicate your interest by commenting on this issue.
  2. Fork the repository and create a new branch from the main for this migration task.
  3. Implement Supabase Auth, ensuring all features currently using NextAuth are updated accordingly.
  4. Perform thorough testing to confirm that the authentication processes are working without issues.
  5. Commit your changes and submit a Pull Request with a detailed summary of modifications, including any necessary setup instructions or environment variable changes.

Notes for Contributors

  • Prior experience with Supabase Auth is highly recommended.
  • Ensure that any sensitive credentials are handled securely and not included in the PR.
  • Maintain code readability and adhere to the project’s coding standards.

We appreciate your interest and contributions to this important update for our project. A smooth transition to Supabase Auth will set the foundation for more robust user management and open up new possibilities for our application.

Work in progress here: #97 (Currently working for new installations)