pinme-auth

Integrate PinMe Worker authentication for user creation, token verification, and account lookup.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/glitternetwork/pinme-worker-template --skill pinme-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinme-auth
Source: https://github.com/glitternetwork/pinme-worker-template/tree/main/skills/pinme-auth
Command: npx skills add https://github.com/glitternetwork/pinme-worker-template --skill pinme-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of wiring authentication into a PinMe Worker, so your app can create users, verify sign-in tokens, and read account data without custom guesswork.

Core Features & Use Cases

  • User Provisioning: Create email and password users and trigger verification email flows for new accounts.
  • Token Verification: Validate Firebase id tokens in your Worker before allowing protected API access.
  • User Lookup and Admin Views: Fetch a single user or page through all users for dashboards, support tooling, and account management.
  • Frontend Auth Setup: Connect the browser login flow to the correct tenant configuration so tokens are issued to the right project.
  • Use Case: A PinMe app needs login, profile lookup, and server-side access control; this Skill provides the exact request patterns and error handling needed to implement that flow safely.

Quick Start

Ask the AI to integrate PinMe auth into your Worker by setting the required environment variables, calling the auth proxy APIs, and wiring the frontend to obtain an id token for server-side verification.

Frequently Asked Questions about pinme-auth

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

FAQPage Schema
How do I verify Firebase id tokens in a Cloud Worker for protected API access?

Firebase id token verification in a Worker requires validating the token against tenant-aware project configurations to protect API access, returning structured error responses for unverified emails or upstream auth failures.

How do I add email and password user creation to my Worker authentication flow?

Adding email and password user creation involves calling the auth proxy APIs to provision accounts and trigger verification email flows for new users within your Worker application.

What is the best way to manage paginated user administration and account lookup in a Worker?

Managing paginated user administration involves fetching a single user or paging through all users via the auth proxy APIs, providing structured data for dashboards and support tooling.

Does PinMe worker authentication support Google sign-in and tenant-aware token handling?

Yes, PinMe worker authentication supports Google sign-in by connecting the browser login flow to the correct tenant configuration, ensuring tokens are issued to the right project with tenant-aware handling.

Why are my authentication requests failing with missing credentials errors?

Authentication requests fail with missing credentials errors when the required X-API-Key and project_name validation are not properly configured in the Worker environment variables.

Do I need specific environment variables to set up PinMe auth in my Worker?

Yes, setting up PinMe auth requires configuring specific environment variables including X-API-Key and project_name to validate requests and handle Firebase tenant-aware token flows correctly.