Overview
BBaton Login runs on the global standard OAuth 2.0 authentication protocol. This document is meant to help you understand the overall execution structure before moving into step-by-step implementation documents.
01 BBaton Login flow
BBaton Login is provided as an open API and is designed to fit your web policies and UI/UX. For website integrations, the full structure becomes easy to understand when you view it in three stages: authorization code request, token request, and user information request.
A request token must always be issued before requesting user information. In other words, the flow does not end with successful login: you must exchange the authorization code for a token before calling user-related APIs.
Request authorization code
The application requests an authorization code from the BBaton server.
Redirect delivery
Once user authentication is completed, the authorization code is delivered to the redirect URL.
Request token
The client server requests a token with the received authorization code and processes the response.
Request user information
The issued token is then used to request user information after token validity is confirmed.
02 Verification model and user experience
BBaton Login, built on OAuth 2.0, verifies whether the user is an adult during the authorization-code step through the user’s BBaton account ID and password. This adult-eligibility value can be understood in the context of pseudonymized-data usage under Korea’s 2020 data-law revisions.
If the user is already logged in with a BBaton account, the code can be issued immediately without requesting account details again. On PC web, the guide assumes login is completed through the account ID and password without additional verification factors.
03 BBaton Login introduction order
The BBaton Login introduction flow follows the four steps below. Detailed implementation continues in the next document, Integration, with step-by-step parameters and code examples.