What problem does it solve?
This skill helps you correctly implement CloudBase server-side identity for Node.js backends so you can safely determine who is calling, fetch end-user profiles, and bridge external users via custom login tickets.
Core Features & Use Cases
- Caller identity in Node: Read the authenticated caller’s identity (uid/customUserId/openId) inside CloudBase cloud functions or other Node runtimes for authorization and auditing.
- End-user lookup: Retrieve full CloudBase end-user profiles by uid or by login identifier (platform + platformId) when you need to enforce permissions or display admin information.
- Custom login ticket issuance: Generate custom login tickets in Node to let trusted clients complete login without forcing users to re-sign up in CloudBase.
- Security guardrails: Keeps the Node responsibility focused on identity/auth logic and avoids mixing provider configuration or frontend login UI work.
Quick Start
Use this skill to implement a CloudBase Node.js backend function that calls the CloudBase Node SDK to read the current caller identity and (optionally) create a custom login ticket for your trusted client.