auth-web-cloudbase

Provide login methods and user management for Web projects via CloudBase.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/jngong-collab/miniapp-growth-v2-open --skill auth-web-cloudbase-jngong-collab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-web-cloudbase
Source: https://github.com/jngong-collab/miniapp-growth-v2-open/tree/main/.trae/skills/cloudbase/references/auth-web
Command: npx skills add https://github.com/jngong-collab/miniapp-growth-v2-open --skill auth-web-cloudbase-jngong-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @cloudbase/js-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Simplifies the process of implementing authentication on Web projects, offering a suite of login methods with comprehensive user management features.

Core Features & Use Cases

  • Diverse Login Methods: Supports phone, email, anonymous, username/password, and third-party login methods.
  • User Management: Provides tools for user sign-up, sign-in, sign-out, updating user information, password management, and account deletion.
  • Integration with @cloudbase/js-sdk: Ensures seamless integration with CloudBase environments using supabase-js API compatibility.

Quick Start

Import cloudbase and configure your environment. Use auth.signInWithPhoneAuth() to start the phone authentication flow.

Frequently Asked Questions about auth-web-cloudbase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement web authentication with multiple login methods in my project?

You can implement web authentication by integrating CloudBase using `@cloudbase/js-sdk` to support phone, email, anonymous, username/password, and third-party logins. This provides a comprehensive user management system for your project.

Does CloudBase support third-party login integration for web applications?

Yes, CloudBase supports third-party login integration for web applications through `@cloudbase/js-sdk`. It enables diverse login methods alongside native phone, email, and username/password authentication flows.

What's the best way to manage user sign-up and sign-out flows using CloudBase?

The best way to manage user flows is using the `@cloudbase/js-sdk` suite, which provides specific tools for user sign-up, sign-in, sign-out, updating user information, password management, and account deletion.

Can I use a supabase-js compatible API for user management on CloudBase?

Yes, you can use a supabase-js compatible API for user management on CloudBase. The integration ensures seamless compatibility with the CloudBase environment while handling authentication and user data.

How do I start the phone authentication flow in a Web project?

To start the phone authentication flow in a Web project, import `cloudbase`, configure your environment, and call `auth.signInWithPhoneAuth()`. This initiates the phone-based login sequence directly.