Open mariusbolik opened 4 months ago
Hello,
I am using the @hono/clerk-auth package in my project. It works very well so far.
@hono/clerk-auth
You are logged in!
You are not logged in
This is my code:
app.use('/payment/*', clerkMiddleware()) app.post('/payment/billing', (c) => { const auth = getAuth(c) console.log('auth', auth) if (!auth?.userId) { return c.json({ message: 'You are not logged in.', }) } return c.json({ message: 'You are logged in!', user: auth, }) })
Kind regards, Marius
@mariusbolik the upgraded version of the middleware that uses Clerk Core v2 is now available. Could you please update and confirm the issue persists with the new version?
Hello,
I am using the
@hono/clerk-auth
package in my project. It works very well so far.You are logged in!
.You are not logged in
.You are not logged in
.This is my code:
Kind regards, Marius