H
Honoβ€’5d ago
Mattèo

Using @hono/auth-js with one API server (auth) and one web server (front) ?

Hey, hope Hono fans are doing well, I'm wondering if it's possible to use a distant API (not on the same hostname) with authjs ? I've seen multiple examples with @hono/auth-js but they are always relying on the vite proxy server to serve the api on the same host as the frontend server. Example usages of the @hono/auth-js lib : - https://github.com/divyam234/next-auth-hono-react - https://github.com/honojs/middleware/blob/main/packages/auth-js/test/index.test.ts - https://github.com/tgdrive/rdebrid-ui/ Can anyone help me? I don't want to proxy my API to example.com/api/auth because I prefer using a separate hostname like this api.example.com Thanks for reading me ! 😊 Wishing you a good day πŸ˜‰
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?