bởi 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:
Khởi chạy sandbox cách ly và chạy phía máy chủ — không cần cài đặt cục bộ.
Lần kiểm định sandbox đã hoàn tất và đường chạy được phát hiện đã đạt yêu cầu.
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
Quy trình 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.
Đã đánh giá 7 thg 8, 2026
Hướng dẫn cài đặt đầy đủ và prompt tích hợp sẽ mở khóa sau khi mua.
Đưa sản phẩm này thẳng vào AI IDE, trình tạo web hoặc cloud IDE của bạn.
Kết nối Tetrees với AI IDE tương thích để liệt kê sản phẩm bạn sở hữu và nhận ZIP đã xác minh mà không cấp quyền tải lên của người bán.
Chưa có đánh giá.
Sign in to join the discussion
Loading discussion…

Mobile App Templates & App Source Code
17,40 US$