Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 679 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 679 Bytes

authjs-edgedb

Bare implementation of a auth.js adapter using edgedb. I don't have any plans to make this a proper package, but if you want to make a pull request for one, do so.

Setup

  1. Copy contents of the default.esdl to your own edgedb schema
  2. Run an edgedb migration
  3. npm i @auth/core
  4. Generate typescript files for edgeql-js
  5. Copy and change the contents of adapter.ts to point the generated files.
  6. Import and use like any other auth.js adapter