For the complete documentation index, see llms.txt. This page is also available as Markdown.

Login

Process Social Login

post

Function Description

  • Links a social account for a member who is not yet linked and issues a token.


Detailed Description

  • Social type (type), Member No. (mbrNo), Social account unique ID (smpctId), Social ID (emailAddr), and Login media code (loginMediaCd) are required.

  • Checks whether existing linkage data exists for the given social type.

  • Saves the social account linkage information to the existing member. The link end date is set to 2999-12-31 23:59:59.

  • Once social linking is successfully completed, a token is issued in the same way as regular token issuance.

  • If the token is successfully issued, a successful login history is created; if it fails, a failed login history is created.


Revision History

  • Release v2.00_240401: Added refreshToken to social login processing response

Query parameters
socialConnectRequeststringRequired

SocialConnectRequest

Header parameters
AuthorizationanyOptional

Access Token

Body
anyOptional
Responses
200

Success

*/*
anyOptional
post/v1/social/connect
POST /api/member/v1/social/connect?socialConnectRequest=text HTTP/1.1
Host: api-member.x2bee.com/
Content-Type: application/json
Accept: */*

No content

Social Account Authentication

post

Function Description

  • Finds and authenticates the social account information to log in, then determines the post-processing method.


Detailed Description

  • The authorization code (code) passed from the consent screen and the social type (type) to log in with are required.

  • An access token for looking up the user is issued via the authorization code (code) passed from the social site's consent screen, and the social account is found.

  • The response includes whether identity verification is required, based on the social account's prior linkage status, dormant member status, and CI verification status.

  • Kakao login related API Kakao Developer Link

    • User lookup token issuance URL: https://kauth.kakao.com/oauth/token

    • User lookup URL: https://kapi.kakao.com/v2/user/me

    • Unlink URL: https://kapi.kakao.com/v1/user/unlink

  • Naver login related API Naver Developer Link

    • User lookup token issuance URL: https://nid.naver.com/oauth2.0/token

    • User lookup URL: https://openapi.naver.com/v1/nid/me

  • Google login related API Google Developer Link

    • User lookup token issuance URL: https://oauth2.googleapis.com/token

    • User lookup URL: https://www.googleapis.com/oauth2/v2/userinfo

  • Apple login related API Apple Developer Link

    • User lookup token issuance URL: https://appleid.apple.com/auth/token


Revision History

  • Release v1.07_231228: Removed dormant member status lookup logic

  • Release v2.00_240530: Added social providers (Google, Apple)

Query parameters
socialLoginRequeststringRequired

SocialAuthRequest

Header parameters
AuthorizationanyOptional

Access Token

Body
anyOptional
Responses
200

Success

*/*
anyOptional
post/v1/social/check
POST /api/member/v1/social/check?socialLoginRequest=text HTTP/1.1
Host: api-member.x2bee.com/
Content-Type: application/json
Accept: */*

No content

Last updated