Surreal DB adapter for Lucia.
npm i lucia-surrealdb-adapter
import { SurrealDBAdapter } from "lucia-surrealdb-adapter";
import Surreal from "surrealdb.js";
//You will have to set this up with the connect and sign in methods
const db = new Surreal();
const adapter = new SurrealDBAdapter(db, {
user: "users",
session: "sessions",
});