Authentication Flow
All authentication endpoints are managed by Better-Auth and are available under the/api/auth
path. The authentication system supports:
- Email/password authentication
- Social login (Google)
- Password reset
- Team/organization management
- Subscription and billing integration with Polar
Polar Subscription Endpoints
ProStack integrates with Polar for subscription and billing management. The following endpoints are available for authenticated users:Checkout a Product/Plan
{product-slug}
must match one of the available plan slugs configured in the application. After successful checkout, the user is redirected back to the application.