내 정보
소셜 계정 연결 시작
로그인한 구매자에 공급자 계정을 연결하는 주소를 돌려준다. 본문은 소셜 로그인 시작과 같고, 돌아오면 `POST /me/identities/{provider}`로 마무리한다. `@sayren/storefront-sdk/auth`의 `linkIdp()`가 PKCE와 state를 만든다.
POST
로그인한 구매자에 공급자 계정을 연결하는 주소를 돌려준다. 본문은 소셜 로그인 시작과 같고, 돌아오면 POST /me/identities/{provider}로 마무리한다. @sayren/storefront-sdk/auth의 linkIdp()가 PKCE와 state를 만든다.
header
AuthorizationBearer <token>회원 accessToken
provider*stringapplication/json- body
redirectUri*stringFormat
uricodeChallenge*stringMatch
^[A-Za-z0-9_-]{43}$state*stringLength
16 <= length <= 128agreements?성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/storefront/v1/me/identities/string/authorize' \ -H 'Content-Type: application/json' \ -d '{ "redirectUri": "http://example.com", "codeChallenge": "string", "state": "stringstringstri"}'{ "meta": { "status": 200, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "url": "http://example.com" }, "error": null}