authentication (14 lessons)

Found in: Lessons Hub, AI Benchmark, GTM Medical, QR Bracelet, GTMLeads

Related Tags

Lessons

Google OAuth2

Google OAuth2 lets users sign in with their Google account. Your server redirects to Google, Google authenticates the user, and redirects back with a code. You exchange the code for the user's email. The entire flow is four HTTP calls and requires no client-side SDK.

QR Bracelet 2026-06-06 implementation

Phone Numbers as Data, Not Identity

When a phone number appears in your product, decide early whether it's an identity (the account itself) or data (a field on a record). Conflating the two creates the wrong data model, the wrong auth flow, and forces users into a single-phone-per-account constraint that doesn't match reality.

QR Bracelet 2026-06-06 implementation

SDLC Document Pipeline as Code

A structured document pipeline (user requirements → PDR → plan → expand → implement) turns vague product conversations into executable phase plans. The pipeline's value isn't the documents themselves — it's forcing decisions at the right time and preventing implementation from starting before the de...

GTM Medical 2026-06-03 data-engineering

Base Adapter ABC Pattern

When integrating with multiple external APIs that share a common pipeline contract, define an abstract base class that handles cross-cutting concerns (rate limiting, timeouts, credential redaction, error classification) and requires subclasses to implement only the source-specific logic (`fetch` and...

GTMLeads 2026-05-20 architecture

Phased Adapter Expansion

When scaling a plugin architecture, ship configuration and data files first (before any code), tier new plugins by API complexity, and close with registry-level consistency tests. This ordering catches integration mismatches early and keeps each phase independently shippable.

GTMLeads 2026-05-20 architecture