계정 로그인/가입
POST https://{game_host_ext_ssrm}/v1.0/ssrm/auth/login
Headers
Context-Type*
string
application/json
Request Body
social_key*
string
소셜 로그인 시 획득한 액세스 토큰
social_type*
int
소셜 타입(소셜 리스트 API로 부터 전달받은 소셜 정보 참고 부탁 드립니다.) (LINE : 4, Telegram : 5)
ip
string
접속 ip
{
"return": 0,
"message": "success",
"value": {
"jwt": {
"access_token": "eyJhb...........dWbZTCjzf4",
"refresh_token": "eylc.............X7usn3tsc6RUYp7840",
"access_uuid": "a9c3f957-9cb7-4e5e-8409-77b18e0e840c",
"refresh_uuid": "a5c90906-b200-4832-903c-51b3c74de6cd",
"access_token_expire_dt": 1747294943,
"refresh_token_expire_dt": 1747294943
},
"inno_uid": "ABCDEFG",
"social_type": 5,
"social_id": "4738904783",
"user_id": 3982717,
"public_user_id": 223372036854775808,
"is_registerd": false
}
}{
"social_key" : "ya29.a0ARrdaM-BzAz7s2Z...",
"social_type" : 1,
"ip" : "14.52.155.93",
}curl --location --request POST 'https://localhost:51152/v1.0/ssrm/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"social_key" : "ya29.a0Aa4xrXMK9A23BEnY9aWu6kdK...",
"social_type" : 4,
"ip" : "14.52.155.93",
}'jwt
object
Jwt 관련 object
access_token
string
액세스 토큰 토근 만료시간
refresh_token
string
리프레시 토큰 토근 만료시간
access_uuid
string
액세스 토큰 uuid
refresh_uuid
string
리프레시 토큰 uuid
access_token_expire_dt
int64
액세스 토큰 만료시간 UTC (ms)
refresh_token_expire_dt
int64
리프레시 토큰 만료시간 UTC (ms)
inno_uid
string
inno 플랫폼 유저 id
social_type
int
소셜 타입(소셜 리스트 API로 부터 전달받은 소셜 정보 참고 부탁 드립니다.)
social_id
string
소셜 서비스에서 제공해준 id
user_id
int
게임 가입 후 생성된 id
public_user_id
string
화면상에 공개 해도 되는 ID (cs 용)
is_registerd
bool
최초 로그인 여부
0
success
성공
500
Internal server error
70000
DB Error
DB 에러
71104
Make Token Error
액세스 토큰 생성 에러
71105
Error Verify Social Key
소셜키 검증 실패
72400
System Maintenance
정검중
Last updated