auth-nodejs-cloudbase

Authenticate CloudBase Node.js callers and retrieve user profiles via UID.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/LYC1197060211/jxj --skill auth-nodejs-cloudbase-lyc1197060211
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-nodejs-cloudbase
Source: https://github.com/LYC1197060211/jxj/tree/main/web-admin/.claude/skills/auth-nodejs
Command: npx skills add https://github.com/LYC1197060211/jxj --skill auth-nodejs-cloudbase-lyc1197060211

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive guidance for implementing server-side authentication and identity management within CloudBase projects using Node.js, ensuring secure user verification and access control.

Core Features & Use Cases

  • Caller Identity: Determine who is making requests to your CloudBase functions or Node.js services.
  • User Lookup: Retrieve detailed user profiles using CloudBase UIDs or login identifiers.
  • Custom Login: Integrate your existing user system with CloudBase by issuing custom login tickets.
  • Use Case: A Node.js CloudBase function needs to verify if the logged-in user has permission to access specific data; it uses auth.getUserInfo() to get the user's UID and then checks against a database of permissions.

Quick Start

Use the auth-nodejs-cloudbase skill to get the caller's identity in a CloudBase function.

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 the caller identity in a Node.js CloudBase function?

To get the caller identity in a Node.js CloudBase function, use this Skill to leverage the CloudBase Node SDK for secure server-side authentication, determining who is making requests to your services. It guides caller identification for backend operations.

How do I retrieve user profiles using CloudBase UIDs or login credentials?

Retrieve user profiles by using the authentication guidance to call functions like `auth.getUserInfo()`. This allows your Node.js backend to fetch detailed user identity information via CloudBase UIDs or login identifiers for permission verification.

Can I integrate my existing user system with CloudBase using custom login?

Yes, you can integrate external user systems with CloudBase by generating custom login tickets. This Skill provides guidance on issuing custom login tickets to bridge your existing user identity infrastructure with CloudBase environments.

Do I need the CloudBase Node SDK to implement server-side authentication?

Yes, you need the `@cloudbase/node-sdk` dependency to implement server-side authentication. This Skill leverages the CloudBase Node SDK to perform secure backend operations, user verification, and identity management within your Node.js environment.

What is the best way to verify user permissions for specific data in CloudBase?

The best way to verify permissions is using the CloudBase Node SDK to retrieve the caller's UID via `auth.getUserInfo()`, then checking that UID against your database of permissions to control access to specific data.