Skip to main content
The Authentication Service handles user registration, login, and account management operations.

Endpoints

Sign Up

Create a new user account with organization.
Endpoint: POST /api/auth/signup Request Body: Response:

Login

Authenticate a user and receive an access token.
Endpoint: POST /api/auth/login Request Body: Response:

Sign Up via Invitation

Register a new user account through an invitation.
Endpoint: POST /api/auth/signup_invite Request Body: Response:

Error Responses

Authentication

Most endpoints in this service do not require authentication, as they are used for the authentication process itself. The exceptions are:
  • Password reset endpoints may require a valid reset token
  • Account management endpoints may require a valid JWT token

Implementation Notes

  • Passwords are securely hashed using SHA-256
  • JWT tokens have a configurable expiration time
  • Failed login attempts are rate-limited to prevent brute force attacks