Cotal TypeScript packages
    Preparing search index...

    Function pinnedJwksResolver

    • Build the callout's pinned key resolver: a createRemoteJWKSet locked to ONE origin. The token never influences where the key comes from — jose fetches only this URL and ignores any embedded jku/jwk (and validateUserToken rejects those headers outright). HTTPS is required except plain http on a loopback IP literal (dev). A name such as localhost gets no exception, because resolution would then choose the trust anchor.

      Parameters

      • jwksUri: string

      Returns JWTVerifyGetKey