POST /task-go/v1/auth/login
{
"username": "najat-mansour",
"password": "Najat@Mansour28"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MDM3MjkzNzIsImV4cCI6MTcwMzczNjU3Mn0.oU3fsini19DS_BKpJ_4LZ3xENPiL4rMSrYCdJCQ1C04"
}
{
"error": "Invalid username or password."
}
GET /task-go/v1/auth/email-verification/{email}
Parameter |
Type |
Description |
email |
string |
The email of the user. |
{
"error": "Email address not found."
}
GET /task-go/v1/auth/new-password/{username}
Parameter |
Type |
Description |
username |
string |
The username of the user. |
{
"message": "Password reset instructions sent to the user's email."
}
{
"error": "Invalid or missing username."
}
{
"error": "User not found with this username."
}