로그인
로그인
● 잠김 계정에 대한 로그인 불허
● 비활성화 계정에 대한 로그인 불허
POST /api/v1/member/login
Request Headers
Name
Value
Content-Type
x-www-form-urlencoded
Accept
application/json
Request Body
Name
Type
Description
Validation
username
string
아이디
NOT NULL
공백포함 불가
password
string
비밀번호
NOT NULL
공백포함 불가
Response
{
"status": 200,
"code": "SUCCESS REQUEST",
"data": null,
"timestamp": "2024-11-16 01:58:45"
}{
"status": 401,
"message": "입력한 정보가 일치하지 않습니다", //로그인 실패 (정보 불일치)
"code": "ERR-SEC-01",
"timestamp": "2024-11-16 02:00:18"
}{
"status": 400,
"message": "탈퇴한 계정입니다.",
"code": "ERR-SEC-03",
"timestamp": "2024-11-16 02:00:18"
}{
"status": 400,
"message": "잠긴 계정입니다.(패스워드 5회 미일치) 계정을 활성화 해주세요.",
"code": "ERR-SEC-04",
"timestamp": "2024-11-16 02:00:18"
}Response(Validation Fail)
Response Headers
Name
Value
access
액세스 토큰 ( 유효기간 5분)
Set-Cookie
refresh=리프레시토큰; Max-Age=86400; Expires=24시간; Path=/; HttpOnly
Last updated