auth-nodejs-cloudbase

Manage CloudBase user authentication and lookup with the Node SDK.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/dang0705/planting --skill auth-nodejs-cloudbase-dang0705
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-nodejs-cloudbase
Source: https://github.com/dang0705/planting/tree/main/.agents/skills/cloudbase/references/auth-nodejs
Command: npx skills add https://github.com/dang0705/planting --skill auth-nodejs-cloudbase-dang0705

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the need for server-side authentication and user lookup in CloudBase applications, providing a guide for using the CloudBase Node SDK to manage identities and user information.

Core Features & Use Cases

  • Identity Management: Read caller identity, inspect end users, and issue custom login tickets for secure server-side access.
  • Server-Side Auth: Suitable for Node.js code running in CloudBase functions or backend services.
  • Custom Login Tickets: Bridge existing user systems into CloudBase with custom login tickets.
  • Use Case: A Node.js cloud function uses this Skill to authenticate users, retrieve user profiles, and issue custom login tickets for secure client-side access.

Quick Start

Initialize the CloudBase Node SDK in your cloud function and use auth.getUserInfo() to get the caller's identity.

Frequently Asked Questions about auth-nodejs-cloudbase

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

FAQPage Schema
How do I get user identity in a CloudBase Node.js function?

To get user identity in a CloudBase Node.js function, initialize the CloudBase Node SDK and call the auth.getUserInfo() method to read the caller's identity and retrieve user profile information.

What are custom login tickets in CloudBase used for?

Custom login tickets in CloudBase are used to bridge existing user systems into CloudBase, issuing secure custom tickets for server-side access and client-side authentication within Node.js applications.

Can I use the CloudBase Node SDK for server-side authentication?

Yes, you can use the CloudBase Node SDK for server-side authentication, providing methods to manage user identities, inspect end users, and issue custom login tickets in Node.js backend services.

What is the best way to look up end users in CloudBase?

The best way to look up end users in CloudBase is by using the CloudBase Node SDK's server-side auth methods, which allow Node.js applications to inspect user profiles and manage identity data securely.

Do I need environment setup to manage server-side auth with CloudBase?

Yes, you need CloudBase Node SDK initialization and proper environment setup to manage server-side auth, ensuring your Node.js cloud functions can securely access user identities and issue custom login tickets.