What problem does it solve? Integrating user authentication into Web frontend projects with CloudBase requires knowing the correct SDK methods, provider setup order, and session-checking pitfalls. This Skill provides a concise, practical guide for wiring login, registration, session handling, and user management into Web apps using @cloudbase/js-sdk. ## Core Features & Use Cases - Multiple Login Methods: Phone OTP, email OTP, username/password, anonymous, OAuth (Google/WeChat), custom ticket, and third-party ID token login, all returning Supabase-style { data, error } results. - Reliable Session Guards: Uses auth.getSession() instead of the deprecated getLoginState() to avoid false-positive auth checks caused by accessKey anonymous sessions. - Complete User Management: Sign out, profile updates, password reset, identity linking/unlinking, account deletion, and auth state change listeners. - Use Case: A developer building a React login page with username/password accounts (e.g., admin, editor) uses this Skill to enable the usernamePassword provider via auth-tool, then wires auth.signUp and auth.signInWithPassword directly into the form handlers. ## Quick Start Ask the AI to add CloudBase username and password login to your Web app using @cloudbase/js-sdk after verifying the provider configuration with auth-tool.