Add Authentication to a UniApp Project with CloudBase
Use @cloudbase/adapter-uni-app in a UniApp project to integrate CloudBase Auth. One codebase runs across H5, WeChat Mini Program, Alipay Mini Program, Douyin Mini Program, iOS, and Android with shared login state.
Add Authentication to a Web React Project with CloudBase SDK
Use @cloudbase/js-sdk in a Vite + React 18 project to integrate CloudBase Authentication. Covers SMS Verification Code, email verification code, and WeChat QR Login, with persistent login state and a Route Guard.
Add CloudBase Authentication to Next.js
Use @cloudbase/js-sdk in a Next.js 14+ App Router project to integrate anonymous/SMS/WeChat QR Login, store login state in cookies, read identity in Server Components via cookies(), and intercept unauthenticated requests with middleware.
Add CloudBase Authentication to WeChat Mini Programs
Use @cloudbase/js-sdk@2.27.3 + @cloudbase/adapter-wx_mp@1.3.1 to let a WeChat Mini Program log in to a standalone CloudBase Environment using a ticket issued by a Cloud Function.
Fix Common CloudBase Authentication Errors in WeChat Mini Programs
The 10 most common errors when integrating CloudBase Custom Login in WeChat Mini Programs: symptoms, root causes, and fixes with code.
Migrate from WeChat-native Cloud Development to Standalone CloudBase
Progressively replace wx.cloud calls in a WeChat Mini Program with @cloudbase/js-sdk, switching to a standalone CloudBase Environment for multi-platform reuse.