Add user authentication to your PinMe Worker.
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.
It changes how the agent integrates authentication into a PinMe Worker, providing API contracts and TypeScript implementation examples.
What you provide
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.
No additional actions listed.