honojs / middleware

monorepo for Hono third-party middleware/helpers/wrappers
https://hono.dev
337 stars 113 forks source link

[auth-js] How to trigger actual sign-in #536

Open bkerin opened 1 month ago

bkerin commented 1 month ago

I've read the docs at Auth.js and the examples on the Hono adapter page but I can't figure out what I actually need to call to trigger sign-in. The auth.js pages don't have anything for Hono or even express and the adapter page doesn't show actual sign-in anywhere so far as I saw.

Is there an example somewhere that shows how this can be done?

sourabpramanik commented 1 month ago

Are you using any frontend framework?

bkerin commented 1 week ago

Sorry I missed this before. I'm using Hono which doesn't have much fron-endyness I think. It turned out I somehow wasn't finding the correct URL in the docs and sort of had to guess at it and eventually got it to trigger, not sure if there's somewhere that it could be made more prominent.