Authentication
Login
Endpoint
POST /auth/loginHeaders
Key
Value
Description
Authorization
{token}
JWT access token
App-Id
{app_id}
Unique identifier for the application
Request Body
{
"userId": "string",
"nickname": "string",
"profileImageUrl": "string"
}Response
{
"status": 200,
"message": "success",
"userId": "string",
"expiresAt": "date"
}JWT Access Token
Access Token Payload
Key
Type
์ค๋ช
sub
string
์ฌ์ฉ์ ๊ณ ์ ID
iat
int
ํ ํฐ ๋ฐ๊ธ ์๊ฐ (Unix timestamp)
exp
int
ํ ํฐ ๋ง๋ฃ ์๊ฐ (Unix timestamp)
JWT ์๊ณ ๋ฆฌ์ฆ
์๊ณ ๋ฆฌ์ฆ:
HS256(HMAC-SHA256)Signature ์์ฑ ๋ฐฉ์:
Last updated