Overview
BBaton Login runs on OAuth 2.0, the global standard authentication protocol. The structure is simple — authorization code → token → user info. Three steps, that is all.
01 How BBaton Login executes
BBaton Login is an open API you can implement to fit your web policy and UI/UX. Understand it through three steps — authorization code request, token request, and user info request — and the whole structure falls into place.
The token request must come before the user info request. Login success alone is not the end — you can call user APIs only after exchanging the authorization code for a token.
Request auth code
Your application requests an authorization code from the BBaton Server.
Redirect delivery
After the user authenticates, the code is delivered to your Redirect URL.
Request token
Your server exchanges the code for a token and receives the response.
Request user info
Request user info with the issued token and receive it after verification.
Between your application and the BBaton Server: 1) request auth code → 2) code delivered to Redirect URL → 3) request token with code → 4) token delivered → 5) request user info with token → 6) user info delivered.
02 Authentication & UX
At the authorization step, users verify adult status with their BBaton account ID and password. Adult status is handled as pseudonymized data under the Data 3 Act amendments effective August 5, 2020.
If the user is already signed in to BBaton, the code is delivered immediately without asking for credentials again. Desktop web login uses only account ID and password — no other factors.
03 Adoption order
Four steps, in order. Detailed parameters and code examples continue in Integration.