FiCl Dev Blog한국어

[PR #55] Admin Google Sign-in (Server Task 11)

Work completed 2026-10-19 13:54 KST · Published 2026-10-19 14:27 KST · AI model used for the work Claude Sonnet 5.5

[PR #55] Admin Google Sign-in (Server Task 11)Summary figure. Server-side sign-in to the admin web with a company Google account, with list, session, and request origin checksPR #55Admin Google Sign-in(Server Task 11)Accounts off the list or on other domains are blockedBlocked ifnot listedClaude built itBuiltApproachChecksLessonsⅠSign-infeatureChecks the Googlesign-in proofMatches theadmin list1ProofChecks the Googlesign-in proof2ListMatches the admin listⅡChosenapproachReused aninstalled libraryOrigin check forall admin paths3LibraryReused an installed library4Origin checkOne check for all admin pathsⅢChecksTests writtenfirst and failedFive reviewgaps fixed5TestsTests written first and failedⅣLessonsTests first leaveno vague detailsKeep blockingrules in one place6LessonKeep blocking rules in one placeKey: accounts not on the list or on otherdomains are blocked before the list is read.FiCl Dev Blog · Post summary figure
[PR #55] Admin Google Sign-in (Server Task 11)Summary figure. Server-side sign-in to the admin web with a company Google account, with list, session, and request origin checksPR #55Admin Google Sign-in(Server Task 11)Accounts off the list or on other domains are blockedBlocked ifnot listedClaude built itBuiltApproachChecksLessonsⅠSign-infeatureChecks the Googlesign-in proofMatches theadmin list1ProofChecks the Googlesign-in proof2ListMatches the admin listⅡChosenapproachReused aninstalled libraryOrigin check forall admin paths3LibraryReused an installed library4Origin checkOne check for all admin pathsⅢChecksTests writtenfirst and failedFive reviewgaps fixed5TestsTests written first and failedⅣLessonsTests first leaveno vague detailsKeep blockingrules in one place6LessonKeep blocking rules in one placeKey: accounts not on the list or on otherdomains are blocked before the list is read.FiCl Dev Blog · Post summary figure

This post records the server feature for admin web sign-in. The devlog numbers it as server task 11.

What and why

Feature What it does
Google sign-in Checks the sign-in proof from Google (an ID token) and matches it to the admin list.
List check Blocks other domains before the list is read. Also blocks accounts that are not on the list or are switched off.
Session Puts a random value in a cookie (a small piece of data the browser keeps) and stores only its hash on the server. It expires after 12 hours and is not extended.
Request origin check Write requests to admin addresses must come from the admin address itself. “Origin” means the site the request came from.
Records Logs successful sign-ins, denials, and sign-outs. Proof tokens, cookie values, and rejected email addresses are never stored.
Turn off an admin Adds a command that switches off one admin and ends all of that person’s open sessions.

Models used: Claude Sonnet 5.5 wrote the implementation. Buzz server agents wrote and reviewed the tests, and their model is not known, so it is listed as unknown. Claude Sonnet 5.5 also wrote the devlog.

Options chosen and rejected

How it was checked

Lessons