App Token 갱신/재발급
POST https://{auth-domain}/v1.0/auth/token/renew
Headers
Name
Type
Description
Content-Type*
string
application/json
Request Body
Name
Type
Description
refresh_token*
string
{{app_refresh_token}}
{
"return": 0,
"message": "success",
"value": {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjQ4ODBiMzlkLTE3ZDctNDM3My1iN2I5LTJjMGNiMzVlODM0ZSIsImFwcF9pZCI6MiwiY29tcGFueV9pZCI6MSwiZXhwIjoxNjM5NDMxMDE5NDA4LCJsb2dpbl90eXBlIjoyfQ.GVsmkWJVMciB9lgDTVoJP8t-pyl1D1t8h_IEwzW4YEY",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBfaWQiOjIsImNvbXBhbnlfaWQiOjEsImV4cCI6MTYzOTQ3NDIxOTQwOCwibG9naW5fdHlwZSI6MiwicmVmcmVzaF91dWlkIjoiN2ZhMDdhODItNGY0YS00Yzc4LThjZWMtOWI4NGE0NjkwMDE1In0.6Q7vlWCzGu8M6R_cp_9e9xgChmVM0pWKhVyd6zHdbuQ",
"access_uuid": "4880b39d-17d7-4373-b7b9-2c0cb35e834e",
"refresh_uuid": "7fa07a82-4f4a-4c78-8cec-9b84a4690015",
"access_token_expire_dt": 1639431019408,
"refresh_token_expire_dt": 1639474219408
}
}{
"refresh_token": "eyJhbGci..."
}key
data type
desc.
access_token
string
auth token
refresh_token
string
refresh token
access_uuid
string
access uuid
refresh_uuid
string
refresh uuid
access_token_expire_dt
int64
auth token 만료 시간 UTC (ms)
refresh_token_expire_dt
int64
refresh token 만료 시간 UTC (ms)
curl --location --request POST 'https://{auth-domain}/v1.0/auth/token/renew' \
--header 'Content-Type: application/json' \
--data-raw '{
"refresh_token": "eyJhbGci..."
}'return
message
desc
0
success
성공
13002
Redis Error
Redis 에러
20000
Invalid jwt token
유효하지 않은 토큰
20001
Expired jwt token
만료된 토큰
23001
Make Token Error
계정 토큰 생성 오류
Last updated