auth-tool-cloudbase

Configure CloudBase authentication providers and verify login readiness.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mrpersimmon/xiao-han-studio --skill auth-tool-cloudbase-mrpersimmon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-tool-cloudbase
Source: https://github.com/mrpersimmon/xiao-han-studio/tree/main/.agents/skills/cloudbase/references/auth-tool
Command: npx skills add https://github.com/mrpersimmon/xiao-han-studio --skill auth-tool-cloudbase-mrpersimmon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents broken login flows by helping you verify and configure CloudBase authentication provider readiness before you implement Web, mini program, Node, or raw HTTP auth.

Core Features & Use Cases

  • Provider-side readiness checks: inspect and adjust enabled login methods like anonymous, username/password, SMS, email, and third-party providers.
  • Publishable key and API key prerequisites: ensure a publishable key exists and understand when login config is still incomplete.
  • Cross-scenario activation guidance: route you to the correct platform-specific auth implementation skill only after providers and keys are ready.
  • WeChat/Google provider wiring support: fetch current provider settings, update OAuth or WeChat credentials, and enable/disable providers safely.

Quick Start

Request provider and login-method readiness for environment env, then enable the exact login methods you need and ensure the publishable key is available before generating any frontend auth code.

Frequently Asked Questions about auth-tool-cloudbase

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

FAQPage Schema
How do I check CloudBase authentication provider readiness before implementing login?

Check CloudBase authentication readiness by inspecting login configuration and provider settings via queryAppAuth. This verifies enabled login methods and publishable keys so apps can implement correct auth flows without missing prerequisites.

How do I enable SMS and email OTP login methods in CloudBase?

Enable SMS and email OTP login methods in CloudBase by using manageAppAuth actions to update provider settings. You can safely enable or disable specific authentication providers and adjust login strategies as needed.

Does my Web app need a publishable key for CloudBase authentication?

Yes, Web clients require a publishable key for CloudBase authentication. Login configuration remains incomplete without it, so you must ensure a publishable key exists before generating any frontend auth code.

How do I configure WeChat and Google OAuth providers in CloudBase?

Configure WeChat and Google OAuth providers in CloudBase by fetching current provider settings and applying patchLoginStrategy. Update OAuth credentials safely and enable or disable third-party providers as required.

Why does my CloudBase login flow fail even after enabling providers?

CloudBase login flows fail when prerequisites like publishable keys are missing or login strategy patches are incomplete. Inspect queryAppAuth outputs to confirm provider status and ensure all configuration requirements are met.