Better Auth + Durable Objects

I'm using Kysely with durable objects database, which means that I do not have access to node:sqlite. I'm curious how I would configure betterAuth to use my setup?
6 Replies
peterp
peterpOP2mo ago
Would I need to creator a custom adapter? I actually ended up creating a custom adapter.
oscabriel
oscabriel2w ago
Oh hey, funny to find you here! I was just doing some research on potentially making a community adapter to get Better Auth "official" support for DOs as the main db. Can I ask what your custom adapter looks like? Is it going to be folded into RWSDK?
peterp
peterpOP2w ago
I don't think so, but I can share the code!
peterp
peterpOP2w ago
^ RWSDK!
peterp
peterpOP2w ago
@oscabriel
oscabriel
oscabriel6d ago
Oh nice, thanks! Excited to take a look and see how this works

Did you find this page helpful?