auth

Login with Supabase

Authenticate with email and password to get JWT tokens

post/auth/login

Request

  • Base URL: http://localhost:3001
  • URL: http://localhost:3001/auth/login
  • Auth: HTTP bearer

Request body

emailstring required

User email address

passwordstring required

User password

Example request

{
  "email": "user@example.com",
  "password": "your-password"
}

Response

Login successful - use accessToken in Authorization header

successboolean
messagestring

Example response

{
  "data": {
    "tokenType": "Bearer",
    "usage": "Use accessToken in Authorization: Bearer <token> header"
  },
  "success": true,
  "message": "Success"
}

Changes

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