Web 계정 로그인/가입

POST https://{auth-domain}/v1.0/auth/web/account/login

Headers

Name
Type
Description

Context-Type*

string

application/json

Request Body

Name
Type
Description

social_key*

string

소셜 로그인 시 획득한 액세스 토큰

social_type*

int

소셜 타입(소셜 리스트 API로 부터 전달받은 소셜 정보 참고 부탁 드립니다.)

ip

string

접속 ip

zklogin

object

Zklogin 관련 정보

id_token

string

소셜 id 토큰

ephemeral_publickey

string

zklogin 연동용

epoch

int64

zklogin 연동용

randomness

string

zklogin 연동용

private_key

string

zklogin 연동용

{
    "return": 0,
    "message": "success",
    "value": {
        "access_token": "eyJhbGciOiJIUzI1NiI.......q2_P8nQAO3U",
        "refresh_token": "eyJhbGciOiJIUzI1Ni.....mef6xVdPn4urbMYByVi73VE",
        "access_uuid": "00ab5435-d840-4916-8753-5a9fd74e3da5",
        "refresh_uuid": "583d919c-1df4-4734-9c5d-88e55a4582f5",
        "access_token_expire_dt": 1710865506865,
        "refresh_token_expire_dt": 1710865506865,
        "inno_uid": "Qf40Wch7uricUnCcZapBqntoEHgykf4cD/FlvEDlRUs=",
        "is_joined": false,
        "au_id": 5,
        "social_type": 1,
        "is_migrated": true,
        "zklogin": {
            "id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6.......JTEhZMLsg",
            "ephemeral_publickey": "AOlMG1EuX/rYa7MPDC+YP2/USB5olfMZbd08whb8QEQW",
            "salt": "74618950994268702983342581215713993381",
            "epoch": 313,
            "randomness": "67617438664689110855700478339690217321",
            "private_key": "0x3232323232"
        }
    }
}
{
    "social_key" : "ya29.a0ARrdaM-BzAz7s2Z...",
    "social_type" : 1,
    "ip" : "14.52.155.93",
    "zklogin" : {
        "id_token" : "eyJhbGciOiJSUzI1NiI..ckiTDV6eJTEhZMLsg",
        "ephemeral_publickey" : "AOlMG1...MZbd08whb8QEQW",
        "epoch" : 313,
        "randomness" : "67617438664689110855700478339690217321",
        "private_key" : "0x3232323232"
    }
}

Last updated