{
"accessToken": accessToken,
"socialtype": "kakao"
}
{
"data": null,
"message": "not authorized"
}
{
"data": null,
"message": "server error"
}
{
"accessToken": accessToken,
"socialtype": "google"
}
{
"data": null,
"message": "not authorized"
}
{
"data": null,
"message": "server error"
}
{
"accessToken": "accesToken",
"data": {
"id": PK,
"email": "luck@gmail.com",
"user_picture": "image",
"verified": true,
"nickname": "HongGilDong"
}
"message": "authentication succeeded"
}
{
"data" : null,
"message": "not authorized"
}
{
"data" : null,
"message" : "server error"
}
header : { cookie : "accessToken" },
body : {
"data": {
"id": PK,
"email": "luck@gmail.com",
"nickname": "HongGilDong",
"updatedAt": "2021-12-22T10:10:00.000Z",
"createdAt": "2021-12-22T10:10:00.000Z"
},
"message" : "login was successful"
}
{
"data": null,
"message" : "login failed"
}
{
"data": null,
"message" : "server error"
}
{
"data" : {
"id": PK,
"email": "luck@gmail.com",
"username": "HongGilDong"",
"updatedAt": "2021-12-21T00:00:00.000Z",
"createdAt": "2021-12-21T00:00:00.000Z"
},
"message" : "have been successfully signed up"
}
{
"data" : null,
"message" : "not authorized"
}
{
"data" : null,
"message" : "email already exists"
}
{
"data" : null,
"message" : "server error"
}