← knowledge.oriz.in

Extension auth: Firebase primary, license-key fallback

decision extensionsauthfirebaselicense-key

Extension auth: Firebase primary, license-key fallback

Decision

Extensions authenticate users via Firebase Auth as the primary path. A license-key fallback exists for users who refuse Firebase (privacy-paranoid users, regions where Google services are blocked): they pay once, receive a license key, paste it into the extension, and the extension verifies the key against the umbrella Hono Worker.

Why

Firebase Auth via chrome.identity.launchWebAuthFlow() bouncing through auth.oriz.in is the cheapest, fastest, most-recognized auth pattern for extensions, and reuses the family's single Firebase project. But some users explicitly reject Google-tied auth or live where the auth domain doesn't reliably resolve. A license-key fallback removes Firebase as a hard dependency for paying users without compromising the primary path.

Implications

Cross-refs