auth-http-api-cloudbase

Access CloudBase Auth v2 HTTP endpoints for authentication and token management.

Updated May 14, 2026
One-click install
npx skills add https://github.com/williamwang25/ams-admin --skill auth-http-api-cloudbase-williamwang25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-http-api-cloudbase
Source: https://github.com/williamwang25/ams-admin/tree/main/.claude/skills/auth-http-api
Command: npx skills add https://github.com/williamwang25/ams-admin --skill auth-http-api-cloudbase-williamwang25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of integrating CloudBase Auth v2 when you cannot use the Web SDK or Node SDK, but still need to perform login, sign-up, token, and user operations from your own backend or scripts.

Core Features & Use Cases

  • HTTP-based Auth flows: Perform username/password sign-in, anonymous login, and verification-code based sign-up using raw HTTP endpoints.
  • Token lifecycle management: Exchange refresh tokens for new access tokens, introspect access tokens, and revoke tokens for logout/security events.
  • User operations: Call authenticated user endpoints such as fetching current user info and updating password.

Quick Start

Tell your AI agent to generate a working curl sequence that signs in with username/password to CloudBase Auth v2 using your env, device ID, request ID, clientId, clientSecret, and then returns the access_token and refresh_token you will use for subsequent user calls.

Frequently Asked Questions about auth-http-api-cloudbase

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

FAQPage Schema
How do I call CloudBase Auth v2 using raw HTTP without the SDK?

You can authenticate to CloudBase Auth via raw HTTP by constructing the correct base URL, setting standard headers like x-device-id and x-request-id, and handling Bearer tokens for user endpoints outside of Web and Node SDKs.

How do I manage token lifecycle for CloudBase Auth using curl?

You can manage the token lifecycle using HTTP endpoints to exchange refresh tokens for new access tokens, introspect access tokens, and revoke tokens for logout or security events.

Can I perform user operations like sign-up and password updates via HTTP API for CloudBase?

Yes, you can perform username/password sign-in, anonymous login, verification-code sign-up, fetch current user info, and update passwords by calling authenticated CloudBase Auth HTTP endpoints.

Does CloudBase Auth work with backends and admin scripts that cannot use the Node SDK?

Yes, CloudBase Auth raw HTTP access is specifically designed for backends, integration tests, admin scripts, and gateways that must call authentication endpoints using standard HTTP clients instead of SDKs.

What headers are required for CloudBase Auth HTTP API requests?

CloudBase Auth HTTP API requests require standard headers like x-device-id and x-request-id, along with proper Bearer token handling for authenticated user endpoints.