Lightlines
By glitternetwork

pinme-auth

ZH
glitternetwork504 installs

Add user authentication to your PinMe Worker.

What it does

Guides integration of user registration, token verification, and user lookup into PinMe Workers.

When to use it

Use when a PinMe TypeScript Worker needs user authentication through the platform's auth proxy APIs.

How to use it

It changes how the agent integrates authentication into a PinMe Worker, providing API contracts and TypeScript implementation examples.

What you provide

  • An existing project

Uses

Latest review

What you need · 4

Requires a PinMe Worker project with an authentication tenant configured; an unconfigured project receives an authentication-service error.

Uses the Worker's API_KEY environment binding as the X-API-Key header. Every auth proxy request also requires the matching PROJECT_NAME.

Uses the Worker's PROJECT_NAME environment binding as the project_name query parameter, together with API_KEY rather than as an alternative.

Frontend integration obtains the public Firebase Web API key from generated frontend/src/utils/config.ts and uses it to initialize the login SDK; it is distinct from the server-only PinMe project API key.


Access · 0

No additional actions listed.