CloudBase Auth
When to use this skill
Use this skill whenever the task involves authentication or user identity in a CloudBase project, for example:
- Designing which login methods to support (anonymous, username/password, SMS, email, WeChat, custom login)
- Implementing auth with Web SDK (
@cloudbase/js-sdk@2.x) on the frontend - Working with Node SDK for user info, admin operations, or issuing custom login tickets
- Calling HTTP auth APIs directly from any backend or script
- Understanding tokens, login state, and auth-related best practices
If the task is not about authentication (e.g. only about database or storage), this skill is probably not needed.
Quick orientation
CloudBase Auth v2 provides:
More from tencentcloudbase/awesome-cloudbase-examples
auth-wechat-miniprogram
Complete guide for WeChat Mini Program authentication with CloudBase - native login, user identity, and cloud function integration.
7cloudbase-document-database-in-wechat-miniprogram
Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.
7cloudbase-platform
CloudBase platform knowledge and best practices. Use this skill for general CloudBase platform understanding, including storage, hosting, authentication, cloud functions, database permissions, and data models.
7auth-web-cloudbase
CloudBase Web Authentication Quick Guide - Provides concise and practical Web frontend authentication solutions with multiple login methods and complete user management.
7auth-http-api-cloudbase
Use when you need to implement CloudBase Auth v2 over raw HTTP endpoints (login/signup, tokens, user operations) from backends or scripts that are not using the Web or Node SDKs.
6ai-model-web
Use this skill when developing browser/Web applications (React/Vue/Angular, static websites, SPAs) that need AI capabilities. Features text generation (generateText) and streaming (streamText) via @cloudbase/js-sdk. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). NOT for Node.js backend (use ai-model-nodejs), WeChat Mini Program (use ai-model-wechat), or image generation (Node SDK only).
6