pi-auth
CommunitySecure Pi Network login and token verification.
Authoraaaa47080
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Pi Apps need a secure, standardized authentication flow that doesn't rely on passwords or third-party login providers, ensuring identity verification and safe session management for Pioneer users.
Core Features & Use Cases
- SDK-based authentication: Initialize the Pi SDK on the frontend, request appropriate scopes, and obtain a dynamic accessToken along with user data for session creation.
- Server-side verification: Validate the accessToken with the Pi Platform API (GET /v2/me) to bind the proven uid to backend records.
- Security-first practices: Enforce server-side verification, never persist accessToken or uid on the client, and apply proper scopes to protect user identities.
Quick Start
Initialize the Pi SDK on the client, call Pi.authenticate with the required scopes, and handle the resulting auth object to establish a user session.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pi-auth Download link: https://github.com/aaaa47080/stock_agent/archive/main.zip#pi-auth Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.