auth-nodejs-cloudbase

Identify callers and manage end-user info via CloudBase Node.js auth APIs.

2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/EverettField/MatchMate-MiniProgram --skill auth-nodejs-cloudbase-everettfield
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-nodejs-cloudbase
Source: https://github.com/EverettField/MatchMate-MiniProgram/tree/main/miniprogram-2/.codebuddy/skills/auth-nodejs
Command: npx skills add https://github.com/EverettField/MatchMate-MiniProgram --skill auth-nodejs-cloudbase-everettfield

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudBase Node.js environments need secure server-side identity, end-user lookup, and bridging external user systems into CloudBase.

Core Features & Use Cases

  • Read the current caller's identity with auth.getUserInfo() in CloudBase Functions.
  • Retrieve detailed end-user profiles using auth.getEndUserInfo(uid) or auth.queryUserInfo(...) for admin lookups.
  • Bridge existing user systems into CloudBase by issuing custom login tickets with auth.createTicket(...).
  • Retrieve the calling client IP via auth.getClientIP() for logging and security checks.

Quick Start

Install the CloudBase Node SDK, initialize with your environment, and begin using the described auth methods.

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

Server-side authentication in CloudBase Node.js uses the auth.getUserInfo() API to read the current caller's identity directly within CloudBase Functions, returning the authenticated user context.

What's the best way to bridge an external user system into CloudBase?

To bridge external user systems into CloudBase, use the auth.createTicket() Node SDK API to issue custom login tickets, enabling seamless integration of existing identity providers.

How does admin user lookup work in CloudBase server-side environments?

CloudBase Node SDK admin user lookup works by retrieving detailed end-user profiles via auth.getEndUserInfo(uid) or querying records with auth.queryUserInfo() for comprehensive user management.

Can I retrieve the client IP address within a CloudBase function for security checks?

Yes, you can retrieve the calling client IP address in CloudBase Node.js environments using the auth.getClientIP() API, which supports logging and server-side security checks.

Do I need the Node SDK to manage end-user information in CloudBase?

Yes, managing end-user information in CloudBase requires installing and initializing the Node SDK with your environment to access server-side auth methods like getUserInfo and queryUserInfo.