Cotal TypeScript packages
    Preparing search index...

    Interface PinnedIdp

    The persisted pin of THE external IdP this space trusts (plan gate 4: "pin IdP JWKS/issuer/ audience"). All four strings are frozen at up --user-auth --idp <url> time; nothing here is ever read from a presented token. Better Auth conventions seed the derivation (issuer/audience = the base URL's origin, JWKS under <base>/jwks) — a strict-OIDC IdP with different values plugs in by editing the pin file deliberately, not by the client guessing.

    interface PinnedIdp {
        audience: string;
        dmReaderAudience?: string;
        issuer: string;
        jwksUri: string;
        url: string;
    }
    Index
    audience: string

    Exact aud the IdP mints.

    dmReaderAudience?: string

    The dedicated aud of dm-reader proofs (#4189), set only by editing the pin deliberately. Never derived from audience, and refused when equal to it. Absent: no dm-reader exchange.

    issuer: string

    Exact iss the IdP mints.

    jwksUri: string

    The pinned JWKS URL keys resolve from — the ONLY key path.

    url: string

    The auth base URL as given (normalized; the cotal login --idp target).