Authentication - SamarAyadi/TaskyPingu GitHub Wiki
🔐 Authentication
Registration
POST /auth/register
- Accepts
name
,email
,password
, optionalprofileImageUrl
andadminInviteToken
.
Login
POST /auth/login
- Requires valid credentials to issue a JWT token.
Profile
GET /auth/profile
PUT /auth/profile
- Protected by JWT – retrieves and updates user info.
Upload Image
POST /auth/upload-image
- Accepts form-data (
image
) and returns image URL.