由 FirstBlock 出售

A TypeScript chainblock that adds Google, GitHub and Facebook OAuth to your app with a ready-to-run React frontend (Vite + React Router) and a plugin interface for backend integration. Includes an API client with fetch-with-retry (cold-start 503 handling), typed endpoints (getMe, getUsers, update/delete user), token persistence in localStorage, and protected routes plus auth callback/bridge components. Ideal for developers who want a drop-in social login UI and client-side auth plumbing to integrate with an existing chainblock backend. ***Important*** YOU MUST issue your own Google, Facebook, Github OAUTH API ID, SECRET at following links and also register your callback URI, which is explained in the screeshot (to use at Tetrees, Bridge URL + endpoints explained in README, or ask the AI; for your own domain, set up a callback URI using your own domain + endpoints) https://github.com/settings/developers https://console.cloud.google.com/apis/credentials https://developers.facebook.com/a
GoogleGitFacebook Login Module (GGF Login) is a small TypeScript-based frontend + plugin chain component intended for the chainblock domain. It provides a client-side React app (GGF Login Frontend) and a plugin surface (GGF Login Plugin) for handling OAuth flows (Google, GitHub, Facebook), persistent JWT handling, and a typed API client to interact with a backend that exposes health and user management endpoints.
This README documents what is present in the shipped code, how to run the frontend, and the API surface the frontend expects. It is based strictly on the provided source files.
YOU MUST issue your own Google, Facebook, Github OAUTH API ID, SECRET at following links and also register your callback URI, which is explained in the screeshot (to use at Tetrees, Bridge URL + endpoints explained in README, or ask the AI; for your own domain, set up a callback URI using your own domain + endpoints) https://github.com/settings/developers https://console.cloud.google.com/apis/credentials https://developers.facebook.com/apps/
Prerequisites
Install and run (frontend directory)
Type checking and linting
Environment
Notes
The frontend's API client is implemented in frontend/src/api.ts and documents and calls the following endpoints and behaviors. All endpoints return a JSON envelope of the shape ApiResponse<T> = { success: boolean; data: T } on success (as used by unwrapResponse).
GET /health
GET /api/users?limit=&offset=
GET /api/users/:id
PUT /api/users/:id
DELETE /api/users/:id
GET /api/me
OAuth redirect endpoints (used to open provider flows; backend should redirect to provider)
Client-side behaviors to be aware of
If you want, I can:
启动隔离沙箱并在服务器端直接运行 — 无需本地配置。
沙箱验证已完成,检测到的可运行路径已通过。
This React web app completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 9.4 and security 9.5.
Deterministic AVCP artifact review
管道 avcp-2026-08-04.1 · SHA-256 18cb22ee81a044c9…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
审查日期 2026年8月7日
完整安装指南与集成提示词将在购买后解锁。
将此产品直接导入你的 AI IDE、网页构建器或云端 IDE。
将 Tetrees 连接到兼容的 AI IDE,列出你拥有的产品并获取已验证 ZIP,同时不会开放卖家上传权限。
暂无评价。
Sign in to join the discussion
Loading discussion…

Mobile App Templates & App Source Code
US$17.40