BBaton/ docs

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.

StatusProduction
ProtocolOAuth 2.0
SupportedWeb · Mobile web · App SDK
CostFree · no conditions

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.

02 The whole flow in 3 minutes

These three requests are the entire integration. Detailed parameters and per-language examples are in Integration.

Quickstart
3 REQUESTSCOPY
// 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}
Privacy

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.

04 All documents

Order
Document
Type
Note
01
API
Get ready
02
API
Concepts
03
API
Implementation
05
Plugin
WordPress
06
SDK
App prep
07
SDK
Android · iOS
08
Live
Live Demo
Start Now

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