Cotal TypeScript packages
    Preparing search index...

    Interface IdpConfig

    The pinned identity of ONE external IdP. All fields are operator config — nothing in here is ever read from a presented token.

    interface IdpConfig {
        audience: string;
        issuer: string;
        key: JWTVerifyGetKey | CryptoKey;
    }
    Index
    audience: string

    Exact aud the IdP mints (Better Auth default: its base-URL origin).

    issuer: string

    Exact iss the IdP mints (Better Auth default: its base-URL origin).

    key: JWTVerifyGetKey | CryptoKey

    The pinned verification key path over the IdP's JWKS — a pinnedJwksResolver on the IdP's JWKS URL, or a local public key. The token never influences key resolution.