BBaton Login Setup
BBaton Login is an anonymous age-verification API built on standard OAuth 2.0. Authorize → token → user info: three requests and you are integrated. Get the full picture here, then proceed through Preparation → Overview → Integration → Login Button.
01 What is BBaton Login?
BBaton Login is an anonymous verification service provided as an open API. Users verify their eligibility anonymously with a single login, and your service receives verification results such as adult status, birth year, and gender — no names or phone numbers.
- Works on web and mobile web — adopt without overhauling your auth stack
- Standard
OAuth 2.0— use the OAuth libraries you already have - Mobile apps: use the App SDK or contact us (
help@bbaton.com) - No setup cost, no fees
02 The whole flow in 3 minutes
These three requests are the entire integration. Detailed parameters and per-language examples are in Integration.
// 1. Send the user to the BBaton authorize page GET https://bauth.bbaton.com/oauth/authorize ?client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI} &response_type=code&scope=read_profile&state={STATE} // 2. Exchange the redirect code for a token POST https://bauth.bbaton.com/oauth/token Authorization: Basic base64(client_id:secret_key) grant_type=authorization_code&code={CODE}&redirect_uri={REDIRECT_URI} // 3. Fetch the result with the token — adult status and related fields are returned GET https://bapi.bbaton.com/v2/user/me Authorization: {token_type} {access_token}
Responses contain no names or phone numbers. BBaton passes the verification result on, like a baton.
03 Recommended path
Four steps in real adoption order. Click any card to open its document.
Preparation
Apply for API access → get Client ID · Secret Key, register the Redirect URL.
STEP 02Overview
Understand the OAuth flow, return values, and core concepts.
STEP 03Integration
Implement authorize → callback → token exchange → claim handling.
STEP 04Login Button
Apply button copy, style, and placement to your UI.
04 All documents
Apply for API access now
Enter your service and contact details on the application page — a Client account is created automatically and your Client ID and Secret Key are issued.
The application page opens in a new window · Contact: help@bbaton.com