- Updated dependencies [
b9cb6e5]:- @clerk/shared@4.3.1
- @clerk/backend@3.2.1
- Updated dependencies [
3e63793]:- @clerk/backend@3.1.0
- @clerk/shared@4.2.0
- Add Frontend API proxy support to
@clerk/honovia thefrontendApiProxyoption onclerkMiddleware. When enabled, requests matching the proxy path (default/__clerk) are forwarded to Clerk's Frontend API, allowing Clerk to work in environments where direct API access is blocked by ad blockers or firewalls. TheproxyUrlfor auth handshake is automatically derived from the request whenfrontendApiProxyis configured. (#7994) by @nikosdouvlis
- Updated dependencies [
a8c64cc,776ee1b,7fb870d,09cb6d4,09088ed]:- @clerk/backend@3.0.2
- @clerk/shared@4.1.0
-
Update README prerequisites to match actual
package.jsonengine and peer dependency constraints. (#7972) by @jacekradko -
Updated dependencies [
55ece85]:- @clerk/backend@3.0.1
-
Initial release of
@clerk/hono- the official Clerk SDK for Hono. (#7789) by @nikosdouvlisThis package provides:
clerkMiddleware()- Middleware to authenticate requests and attach auth data to Hono contextgetAuth(c)- Helper to retrieve auth data from Hono contextverifyWebhook(c)- Webhook verification via@clerk/hono/webhooks
Usage:
import { Hono } from 'hono'; import { clerkMiddleware, getAuth } from '@clerk/hono'; const app = new Hono(); app.use('*', clerkMiddleware()); app.get('/protected', c => { const { userId } = getAuth(c); if (!userId) { return c.json({ error: 'Unauthorized' }, 401); } return c.json({ userId }); });
Based on the community
@hono/clerk-authpackage. Thank you to Vaggelis Yfantis for the original implementation! -
Updated dependencies [
0a9cce3,e35960f,c9f0d77,1bd1747,6a2ff9e,d2cee35,44d0e5c,6ec5f08,0a9cce3,8c47111,00882e8,a374c18,466d642,5ef4a77,3abe9ed,af85739,10b5bea,a05d130,b193f79,e9d2f2f,6e90b7f,43fc7b7,0f1011a,cbc5618,38def4f,7772f45,a3e689f,583f7a9,965e7f1,84483c2,2b76081,f284c3d,ac34168,cf0d0dc,0aff70e,690280e,b971d0b,22d1689,e9a1d4d,c088dde,8902e21,972f6a0,a1aaff3,d85646a,ab3dd16,4a8cb10,fd195c1,8887fac,0b4b481,5f88dbb,dc886a9,428629b,8b95393,c438fa5,c438fa5,fd195c1,fd69edb,8d91225,1fc95e2,3dac245,a4c3b47,7c3c002,d8bbc66,3983cf8,f1f1d09,736314f,2cc7dbb,0af2e6f,86d2199,da415c8,97c9ab3,cc63aab,a7a38ab,cfa70ce,25d37b0,26254f0,c97e6af,5b24266,d98727e,79e2622,12b3070]:- @clerk/shared@4.0.0
- @clerk/backend@3.0.0