CSI-CATT/EventKonnect
Fix Authentication Flow, Redirects, and Data Storage Issues
Aperta
#7 aperta il 11 ott 2025
bugenhancementgood first issuehacktoberfesthelp wanted
Metriche repository
- Star
- (0 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
🧾 Fix Authentication, Redirects, and Data Storage Issues
📝 Description
Currently, there are issues with the signup, login, and redirect flow in the EventKonnect platform.
- After signing up or logging in, users are not redirected to the correct pages.
- User data is not being stored properly in the database after signup.
- Some session/auth states are not persisting correctly.
The goal is to ensure smooth authentication flow and accurate data handling in the database.
✅ Acceptance Criteria
- User signup should create a new record correctly in the database with all required fields.
- User login should authenticate against the stored credentials.
- Redirects after successful login/signup should lead to the correct dashboard or home page.
- Invalid credentials or existing users should show appropriate error messages.
- Session/auth state should persist correctly (consider localStorage, JWT, or cookies).
- Logout should clear session/auth data properly.
🧠 Possible Implementation Approach
- Review and fix the signup and login API integration with the backend.
- Verify that user details are stored correctly in the database (check schema and backend routes).
- Implement proper authentication flow using JWT or session tokens.
- Use React Router (or Next.js routing) for redirects after successful login/signup.
- Add error handling and success messages for user actions.
- Test the complete flow end-to-end.
🧩 Tech Stack Reference
- Frontend: Next.js
- Backend: Node.js + Express
- Database: Firebase
- Authentication: JWT / Session-based