Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/commons/jwt/jwks.ts>newTrustedJwksIssuer

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable newTrustedJwksIssuer
import { newTrustedJwksIssuer } from "https://deno.land/x/blocks@1.102.3/commons/jwt/jwks.ts";

Returns a JwksIssuer that can be used to verify JWTs If remoteAddress is not passed fallbackPublicKey will be used. If both are passed so first a fetch is tried then fallbackPublicKey is used.