auth

Validate Credentials

Validate email/password credentials.

Called by Auth.js Credentials provider during login. Rate limited to 5 attempts per minute per IP.

Returns: User data if credentials are valid

Raises: HTTPException 401: Invalid credentials HTTPException 429: Rate limit exceeded

post/api/auth/validate-credentials

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/auth/validate-credentials
  • Auth
    none declared

Request body

emailstring email required
passwordstring required

Response

Successful Response

idstring required
emailstring required
namestring nullable
imagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.