-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
feature-requestRequrest a new featureRequrest a new feature
Description
Integrate Authentication System
We need to add an authentication system to support user accounts, roles, and potentially permissions. This will serve as foundational infrastructure for upcoming features.
Requirements
Authentication
- Support sign-in and sign-up flows.
- Potentially allow accounts approval before then being functional?
Authorization
- Support role-based access.
- Permission-level access is preferred but not strictly required.
Cost
- Must be able to support our users for free.
Options Under Consideration
1. Clerk
- Free tier includes 10,000 users.
- Simple integration.
- Supports role creation and management.
2. WorkOS
- Free tier includes 1,000,000 users.
- Pricing: https://workos.com/pricing
- Next.js AuthKit docs: https://workos.com/docs/authkit/nextjs/1-configure-your-project
3. Auth0
- Well-established.
- Free tier available, though more limited than others.
4. Custom Auth implementation.
- Will be most flexible.
Evaluation Criteria
- Ease of integration with existing tech stack
- Role/permission capabilities
- Free tier limits and long-term cost
- Developer experience
- Maintainability and vendor lock-in risk
Proposed Next Steps
- Compare Clerk, WorkOS, and Auth0 based on criteria above
- Create a comparison table of pros/cons
- Select the preferred provider
- Implement sign-in/sign-up functionality
- Add role support (and permissions if possible)
- Document integration steps
Metadata
Metadata
Assignees
Labels
feature-requestRequrest a new featureRequrest a new feature