고객사 액세스 토큰 갱신/재발급
POST https://{auth-domain}/v1.0/auth/customer/token/renew
Headers
Name
Type
Description
Content-Type*
string
application/json
Request Body
Name
Type
Description
refresh_token*
String
{{customer_refresh_token}}
{
"return": 0,
"message": "success",
"value": {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjBjNDBjZWYyLTQ1NWYtNGU1Mi1hOTg4LTljNmFlNmNiYjdhNSIsImFjY291bnRfaWQiOjEsImN1c3RvbWVyX2lkIjoxLCJleHAiOjE2ODY5ODQwODY4MDAsImxvZ2luX3R5cGUiOjV9.4fFTHJGTOp04Q7AVWTt35nKK81_eD-qbM6SrCNfYpcc",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50X2lkIjoxLCJjdXN0b21lcl9pZCI6MSwiZXhwIjoxNjg2OTg0MDg2ODAwLCJsb2dpbl90eXBlIjo1LCJyZWZyZXNoX3V1aWQiOiIyNWM0N2JjNC1jY2I5LTRhYzUtYThkMC0wNzY3ZjgwZjUzMTUifQ.3GYyht1VLx7V3Lb3wFtqVdLK_oQI7qaCJp2782CoG08",
"access_uuid": "0c40cef2-455f-4e52-a988-9c6ae6cbb7a5",
"refresh_uuid": "25c47bc4-ccb9-4ac5-a8d0-0767f80f5315",
"access_token_expire_dt": 1686984086800,
"refresh_token_expire_dt": 1686984086800
}
}{
"refresh_token": "{{customer_refresh_token}}"
}curl --location 'https://localhost:51001/v1.0/auth/customer/token/renew' \
--header 'Content-Type: application/json' \
--data '{
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5c..."
}'Key
Data type
Desc.
access_token
string
access 토큰
refresh_token
string
refresh 토큰
access_uuid
string
access uuid
refresh_uuid
string
refresh uuid
access_token_expire_dt
int64
access token 만료 시간
refresh_token_expire_dt
int64
refresh token 만료 시간
return
message
desc
0
success
성공
13002
Redis Error
Redis 에러
20000
Invalid jwt token
유효하지 않은 토큰
20001
Expired jwt token
만료된 토큰
23001
Make Token Error
계정 토큰 생성 오류
Last updated