Need help in setting up Better Auth with Ronin on Next.js
Code is here: https://github.com/genxai/gen
GitHub
GitHub - genxai/gen: Generate code, images, video
Generate code, images, video. Contribute to genxai/gen development by creating an account on GitHub.
6 Replies
its a simple next.js setup
where I want to make auth work like this
using @daveycodez https://better-auth-ui.com perhaps
Better Auth UI
Better Auth UI
UI components for the most comprehensive authentication library for TypeScript.



the tricky part is that this project is using https://ronin.co as its database (which is libsql based but I can't use any of the drizzle stuff etc.)
the better auth plugin has to be custom
@bekacru wrote a version of such plugin here: https://github.com/nikitavoloboev/better-auth-ronin
GitHub
GitHub - nikitavoloboev/better-auth-ronin
Contribute to nikitavoloboev/better-auth-ronin development by creating an account on GitHub.
but its unclear how to make use of it to make it actually work with ui and ronin
currently
ronin
schema looks like this
I'm not sure what the adapter has to do with the UI library. You just need to pass the adapter to the server auth config. What am I missing?