Sign-in built for China-market apps
Combine WeChat, phone, email, username, anonymous, and custom identity by scenario.
Sign in with WeChat, phone, email, username, or custom identity — then use the same identity for database, functions, and storage permissions.
Mini Program / Official Account
SMS code
Code / password
Web
Try first, upgrade later
Connect existing accounts
Combine WeChat, phone, email, username, anonymous, and custom identity by scenario.
Identity is not bolted on — sessions, JWT, database, and security rules share one user context.
Manage users, sessions, and linked identities, and connect accounts to your business data.
Good identity is not just another login page.
It lets your code stop guessing who sent each request.
const auth = app.auth()
const loginState = await auth.signIn({
username,
password
})
console.log(loginState.user)PostgreSQL reads the current user from JWT claims; policies define ownership and operations alongside tables.
alter table public.profiles
enable row level security;
create policy profiles_owner_read
on public.profiles
for select to authenticated
using (owner_id = (select auth.uid()));Official account & Open Platform login, linking, and profiles.
Registration, verification, sign-in, session refresh, and passwords.
Create private data first, then link to a full account.
Connect business users to CloudBase via custom login.
Enable the sign-in methods you need and define clear boundaries for roles, data, and resources.