-
Notifications
You must be signed in to change notification settings - Fork 141
feat: better-auth #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hey, Thank you for PR. as someone who has implemented better auth using JStack.
This will not work for cloudflare workers, due to You need to create the auth as a hono middleware and use the db from the middleware, since it binds the env variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be done via a jstack middleware as well. using use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! I realized this after reviewing the https://www.better-auth.com/docs/integrations/hono yesterday. Give me a day. I will do the fixes. Also, the env
ones.
Thanks for taking the time to review tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! I realized this after reviewing the https://www.better-auth.com/docs/integrations/hono yesterday. Give me a day. I will do the fixes. Also, the
env
ones.Thanks for taking the time to review tho


Hopefully this helps, I already implemented this for our company 2 months ago, publishing the code so it helps you. Good luck brother
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for sharing this. We'll implement this tomorrow after college
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eager to see your implementation! the jstack cli def need a proper better-auth setup on launch
No description provided.