@hono/clerk-auth
3.1.1 · 7 Apr 2026MIT72.1k / weekRepositorynpmAtom feed
Where each line stands
Plan an upgradeLatest releases
- 3.x · latest line
3.1.1
7 Apr 2026- Deprecated
Deprecate
@hono/clerk-authin favor of the official@clerk/honopackage. To migrate, update your imports:- import { clerkMiddleware, getAuth } from '@hono/clerk-auth' + import { clerkMiddleware, getAuth } from '@clerk/hono'
3.1.0
16 Jan 2026Introduces machine authentication, supporting four token types:
api_key,oauth_token,machine_token, andsession_token. For backwards compatibility,session_tokenremains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification.You can specify which token types are allowed by using the
acceptsTokenoption in thegetAuth()function. This option can be set to a specific type, an array of types, or'any'to accept all supported tokens.Example usage:
import { clerkMiddleware, getAuth } from '@hono/clerk-auth' import { Hono } from 'hono' const app = new Hono() app.use('*', clerkMiddleware()) app.get('/api/protected', (c) => { const auth = getAuth(c, { acceptsToken: 'any' }) if (!auth.isAuthenticated) { // do something for unauthenticated requests } if (authObject.tokenType === 'session_token') { console.log('this is session token from a user') } else { console.log('this is some other type of machine token') console.log('more specifically, a ' + authObject.tokenType) } })
3.0.3
1 Aug 2025Publish to JSR
Dependency tracking
Know when your own dependencies move
This page watches @hono/clerk-auth. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.