Auth

Get current user info

Errors

Returns an error if user is not authenticated or serialization fails.

get/api/auth/me

Response

Current user information

auth_provider'google' | 'email' | 'both' required

Authentication provider types supported by the system

avatar_urlstring nullable

URL to user's avatar image

created_atstring date-time nullable

User account creation timestamp

display_namestring nullable

User's display name

emailstring required

User's registered email address

email_verifiedboolean required

Whether the user's email has been verified

idstring uuid required

User's unique identifier

last_loginstring date-time nullable

Timestamp of user's last login

Example response

{
  "auth_provider": "email",
  "avatar_url": "https://example.com/avatar.jpg",
  "created_at": "2023-01-01T00:00:00",
  "display_name": "John Doe",
  "email": "user@example.com",
  "email_verified": true,
  "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "last_login": "2023-01-02T12:00:00"
}

Changes