Skip to Content
Sayren 유저가이드
회원 인증

회원가입

POST
/storefront/v1/auth/signup

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Request Body

application/json
  1. body
email*string
Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
password*string
Length10 <= length
name*string
Length1 <= length <= 50
phone?string
Match^01[0-9]{8,9}$
agreements*
cartToken?string
userinfo?

바꿀 OIDC 클레임 — 준 것만 바뀌고 null은 지운다

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X POST 'https://api.sayren.io/storefront/v1/auth/signup' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "user@example.com",
  "password": "stringstri",
  "name": "string",
  "agreements": {
    "terms": true,
    "privacy": true
  }
}'
Example Response201
{
  "meta": {
    "status": 201,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "accessToken": "string",
    "refreshToken": "string",
    "expiresIn": 0
  },
  "error": null
}