10 lines · 338 B · TypeScript
RawDownload
import type { JWTVerifyOptions } from "jose"; /** * Require expiring WorkOS tokens. Token lifetime is controlled by WorkOS via * `exp`; do not cap the age locally, since AuthKit issues MCP access tokens * that live for several days. */export const workosAccessTokenOptions: JWTVerifyOptions = {  requiredClaims: ["exp", "iat"],};