H
Hono5w ago
!Dev

Using Hono.js on Cloudflare Workers Free Plan with Postgres, JWT, and OAuth

Can honojs work on cloudflare workers free plan with postgres db and hono's built-in JWT and auth with google, github (google and github from hono's list of oauth providers) and custom email auth?
4 Replies
ambergristle
ambergristle5w ago
depends on what you mean by "work", but i don't see why not
!Dev
!DevOP5w ago
Just auth, that's it. Why is mostly because of 10ms cpu time and previously JWT was not at all supported by CF Workers, seems more of a CF workers limitation that hono limitation
Josh
Josh5w ago
I think it should be fine. The 10ms CPU time is only for time actually spent on the worker, so all the async requests shouldn't count towards it when you hit the DB and oauth providers. I would also assume the JWT works if your are taking it from the hono package because hono was pretty much designed to work on cloudflare.
!Dev
!DevOP4w ago
Got it! Thank you... !

Did you find this page helpful?