/Knowledge/sources/honojs__hono/llms-full/jwk-auth-middleware-options-allow-anon-boolean--ac08669fbf07.md
JWK Auth Middleware: Options > allow_anon: boolean - hono-docs
JWK Auth Middleware: Options allow anon: boolean Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt allow...
JWK Auth Middleware: Options > allow_anon: boolean
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#allow-anon-boolean
Summary
If this value is set to true, requests without a valid token will be allowed to pass through the middleware. Use c.get('jwtPayload') to check if the request is authenticated. The default is false.
Content
If this value is set to true, requests without a valid token will be allowed to pass through the middleware. Use c.get('jwtPayload') to check if the request is authenticated. The default is false.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#allow-anon-boolean",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / JWK Auth Middleware > Options > allow_anon: `boolean`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 328,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "JWK Auth Middleware: Options > allow_anon: boolean",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}