Skip to content
pi-c Subscription sign-in
Login

Subscription sign-in

Status: implemented on the oauth-login branch (ticket 30); the credential seam awaits the owner's review

Tier: bundled (src/oauth.c, src/oauth_openai.c, src/oauth_openrouter.c). Clock: vendor. Record: a picu_credential row of kind oauth. Default: on.

The seam

Core's credential store (cred.h) gains pic_cred_oauth_ops: a sign-in label per provider, a login that returns what to seal, a refresh, and the origin its token may be sent to. The composition root registers the bundled table; core calls only through it, so core names no provider and links without the flows (tiers checks 4 and 5). It is a new seam, which keel sends to the owner. The lighter alternative, the flows in core with the provider names behind an allowance, was refused: the allowance only shrinks.

Decisions

What stays open