by 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:
Spin up an isolated sandbox and run it server-side — no local setup.
The sandbox audition completed and the detected runnable path passed.
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
Pipeline 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.
Reviewed Aug 7, 2026
The full install guide and integration prompts unlock after purchase.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
No reviews yet.
Sign in to join the discussion
Loading discussion…

Mobile App Templates & App Source Code
$17.40