lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.61k stars 448 forks source link

Feat/Surreal DB Adapter #1441

Closed LIMPIX31 closed 5 months ago

LIMPIX31 commented 5 months ago

Details

Implemented SurrealDB adapter

Example

const db = new Surreal();
await db.connect('ws://localhost:8000');
db.signin({
  username: 'root',
  password: 'root',
  namespace: "test",
  database: "test"
});

const adapter = new SurrealAdapter({
  db,
  // Users table name
  user_tb: "user",
  // Sessions table name
  session_tb: "session"
});
pilcrowOnPaper commented 5 months ago

Unfortunately, we're currently not accepting any new adapters that require a new package.

LIMPIX31 commented 5 months ago

Unfortunately, we're currently not accepting any new adapters that require a new package.

For what reasons? Can you reopen the PR again later?