You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gel-better-auth

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gel-better-auth

An better-auth database adapter for gel/edgedb

0.1.242
latest
Source
npmnpm
Version published
Weekly downloads
9
-35.71%
Maintainers
1
Weekly downloads
 
Created
Source

Gel/EdgeDB Adapter for Better-Auth

Status

It works. Create an issue if something goes wrong.

TODO:

  • Verify the API user end API's will work, plugins etc. Though they should work.

Installation

Package exists at https://npmjs.com/package/gel-better-auth

npm i gel-better-auth
# or
pnpm add gel-better-auth
# or
bun add gel-better-auth

Usage

import e from "./../dbschema/edgeql-js";
import { client } from './your-gel-client'

...
export const auth = betterAuth({
...
database: gelAdapter(client, e)
...
});

// to generate schema
const opts = auth.options;
const dbopts = opts.database(opts);
if (dbopts.createSchema) {
  dbopts.createSchema(opts);
}

Keywords

adapter

FAQs

Package last updated on 28 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts