next-auth
bec01a82 - feat(adapters): add SurrealDB adapter (#6251)

Commit
2 years ago
feat(adapters): add SurrealDB adapter (#6251) * feat(adapter-surrealdb): implemented with unit tests * chore: update README * Use stateless DB connection * Update surrealdb-rest-ts * chore: bump turbo and pnpm * chore(docs): fix dynamodb typo (#7130) fix: typo * chore: bump pnpm * chore: update lock file, bump dev dependencies * chore: run `pnpm install --fix-lockfile` * chore: re-run pnpm install * chore: add missing dev dep * revert lock * update lock * use surrealdb.js * add rest test * remove commented-out code * update readme * modularize repeated code * fix(docs): fix default `maxAge` formula (#7406) * feat(adapters): add Account mapping before database write (#7369) * feat: map Account before saving to database * document `acconut()`, explain default behaviour * generate `expires_at` based on `expires_in` Fixes #6538 * rename * strip undefined on `defaultProfile` * don't forward defaults to account callback * improve internal namings, types, docs * chore: improve errors, add more docs (#7415) * JWT Token -> JWT * document some errors * improve errors, docs * fix: loosen profile types * chore: type fixes * fix: allow handling OAuth callback error response related #7407 * fix(docs): remove extra heading Fixes #7426 * chore: use `@ts-ignore` * chore: support release any package as experimental * chore: separate manual release job * chore: skip test for manual release * chore: tweak * chore: tweaks * chore: tweak manual release version * Use query instead of select to be able to use query params * Fix lint errors * Update surrealdb.js and remove surrealdb-rest-ts in favor of ExperimentalSurrealHTTP * update pnpm-lock * fix merge * fix merge * fix merge * migrate surrealdb.js api * fix queries * update package.json * fix types * prepare for rest * update readme * chore: format PR * Update README.md * Update package.json --------- Co-authored-by: Balázs Orbán <info@balazsorban.com> Co-authored-by: jakzo <jack@jf.id.au> Co-authored-by: Victor <saptefrativictor@gmail.com> Co-authored-by: Thang Vu <hi@thvu.dev>
Author
Parents
Loading