Balázs Orbán
41c24542b5
chore: drop duplicate provider-logos
2023-09-28 01:21:50 +02:00
Balázs Orbán
77a439b2a2
chore: docs fix config
2023-09-28 01:10:49 +02:00
Balázs Orbán
95eb8aaf69
docs: pull out docs changes from #7443
...
to minimize the diff there
2023-09-28 01:08:06 +02:00
Balázs Orbán
559842fe02
chore: remove v4 dev app
2023-09-28 00:51:04 +02:00
Balázs Orbán
ce7a49910e
chore(examples): add cognito issuer
2023-09-27 13:41:35 +02:00
Balázs Orbán
e895f42302
docs: fix edit links for adapters
2023-09-26 12:39:29 +02:00
panstabolitis
db2ace585d
fix(docs): correct comment syntax in SQL code snippets ( #8720 )
...
Changed the SQL comment syntax from // to -- in packages/adapter-supabase/src/index.ts
2023-09-26 02:07:10 +02:00
Natsuki Ikeguchi
c9fc84ee82
build(deps): Remove better-sqlite3@7 ( #8719 )
2023-09-26 02:05:56 +02:00
Balázs Orbán
77933b23f0
chore: only validate bugs reports for repro links
2023-09-25 11:32:58 +02:00
Trần Minh Quang
cbbe27102e
feat(providers): update LinkedIn to use OIDC ( #8396 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-09-25 11:32:58 +02:00
GitHub Actions
e274c51807
chore(release): bump package version(s) [skip ci]
@auth/azure-tables-adapter@0.1.0
@auth/typeorm-adapter@1.0.2
@auth/surrealdb-adapter@0.1.0
@auth/core@0.15.2
2023-09-24 13:46:27 +00:00
Thang Vu
2b3836d945
chore: add missing adapters in misc files
2023-09-24 20:30:31 +07:00
Thang Vu
b729f8af0b
feat(adapters): azure tables adapter ( #8708 )
...
* feat(adapter): Add Azure Table Storage DB adapter
* add newlines
* remove sessionByUserId together with the session
* include import in the readme file
* add types to response objects
* introduce contracts for the db entities
* Rename the lib in docs
Co-authored-by: Nico Domino <yo@ndo.dev >
* run prettier
* feat: azure tables adapter
---------
Co-authored-by: Nikita Dmitriev <nikitadmitry@gmail.com >
Co-authored-by: Nikita Dmitriev <106996965+nikitaclicks@users.noreply.github.com >
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-09-24 17:50:05 +07:00
Guy Korland
9f54222c0e
fix(adapters): Avoid parseDataSourceConfig on each call ( #8581 )
...
Improve performance by avoiding call to parseDataSourceConfig before checking if _dataSource was already initialized.
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-24 10:18:30 +07:00
Joachim Bjørge
a5ac491cb8
fix(providers): optional chaining in azure-ad-b2c profile ( #8616 )
...
Fix crash in azure-ad-b2c.ts
Not all b2c-setups return a list of emails. This fixes the resulting crash by using defensive access when setting the profile email address field.
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-24 10:01:43 +07:00
Thang Vu
a96dcdbca3
chore: format surrealdb deps
2023-09-24 09:45:44 +07:00
Martin Schaer
bec01a82ea
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 >
2023-09-23 21:14:40 +07:00
GitHub Actions
6061bbcde1
chore(release): bump package version(s) [skip ci]
@auth/core@0.15.1
@auth/pg-adapter@0.2.0
2023-09-22 08:16:24 +00:00
Thang Vu
09c5fe29ba
chore: update d1 adapter
2023-09-22 15:08:07 +07:00
Thang Vu
6780ed7fee
feat: add pg adapter ( #8679 )
...
* Add vanilla Postgres adapter for NextAuth using the pg package.
All tests are passing.
* Fix typo in readme
* Add basic tsconfig
* Replace this.getUser with functio body as this is undef
* Change name from @next-auth/postgres-adapter to @next-auth/pg-adapter
* Fix package folder to be same as name
* Add package to issue template, labeller and PR labeller
* Commit pnpm lock change.
* Set next-auth version to ^4
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Return user id when updating user. Fixes #4897 .
* chore: format PR
* chore: format PR
* chore: formatting
* fix: tests
* fix
---------
Co-authored-by: Jake Coppinger <jake@jakecoppinger.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-09-22 14:49:01 +07:00
Kyle Roberts
5a7c1bb2bb
docs: Remove asterisk that causes build error in oauth-tutorial.mdx ( #8666 )
...
Update oauth-tutorial.mdx
Remove * from example that's causing an unexpected character error
2023-09-20 19:47:40 +01:00
Kyle Roberts
6448a7b76e
docs: Update SvelteKitAuth example default import to named import ( #8603 )
...
Update SvelteKitAuth example import to current non-default export
2023-09-20 11:15:28 +02:00
Balázs Orbán
db8fcc3c82
chore: Update invalid-reproduction.md
2023-09-19 16:04:13 +02:00
Bob Ippolito
9aeca63013
fix: Build account object with tokens spread as lowest priority ( #8599 )
2023-09-19 15:57:41 +02:00
Balázs Orbán
fee85f3138
chore: Rename help.yml to questions.yml
2023-09-19 15:56:34 +02:00
Balázs Orbán
e5bf8ec9c5
chore: move to nissuer for triaging ( #8646 )
2023-09-19 15:55:16 +02:00
Hamir Mahal
e3ec32812e
chore: remove unnecessary comment ( #8605 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-09-19 15:54:27 +02:00
k8pai
c776435268
fix(docs): correct import name ( #8606 )
2023-09-19 11:55:01 +02:00
GitHub Actions
d0cc046e2d
chore(release): bump package version(s) [skip ci]
@auth/d1-adapter@0.2.0
2023-09-16 13:48:09 +00:00
Thang Vu
c818d028aa
fix: missing closing tag in adapters doc
2023-09-16 20:42:14 +07:00
Thang Vu
3ba8a0e40a
chore: fix deps edgeDB
2023-09-16 18:23:50 +07:00
Josh Schlesser
770d3565f8
feat(adapter): add new Cloudflare D1 Adapter ( #6953 )
...
* cleaned everything up
* Added documentation
* fixed up d1 logo in docs
* cleaning out unused file
* changed to esm module
* formatting the PR
* update the deps
* update the deps
* ignore test
* ignore test
* fix deps
* add contributor
---------
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-16 18:17:02 +07:00
Hamir Mahal
ed32236712
docs: don't copy $ in commands ( #8609 )
...
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-16 09:56:57 +02:00
Thang Vu
307f7b5eb9
chore: Add EdgeDB in sidebar
2023-09-16 12:06:12 +07:00
Thang Vu
120d7a29ee
chore: update email
2023-09-16 12:05:57 +07:00
GitHub Actions
ea65134a84
chore(release): bump package version(s) [skip ci]
@auth/core@0.15.0
@auth/edgedb-adapter@0.2.0
@auth/dynamodb-adapter@1.0.2
2023-09-16 04:30:21 +00:00
Thang Vu
016b22833c
chore(docs): add EdgeDB in typedoc
2023-09-16 11:21:48 +07:00
Bruno Crosier
67dbbb2cdf
feat(adapters): new EdgeDB Adapter ( #5781 )
...
* init adapter folder
* add schema
* run migration
* run `npx @edgedb/generate edgeql-js`
* fix `generate` script
* add `EdgeDBAdapter`
* add tests
* add README
* docs
* dev app
* lockfile
* remove generated files
* ignore `dbschema/edgeql-js`
* add `postinstall` generate script
* update docs
* move `nonrecursive_access_policies` to default schema
* newlines
* remove js generation
* rewrite in edgeql
* make `userId` computed
* fix `createUser` image param
* code review comments
* update lockfile
* code review
* comments
* delete
* types
* revert settings.json
* delete migrations
* deps
* clean up
* Restore packages/adapter-test/index.ts
* chore: formatting & fix logic of useVerificationToken
* chore: delete .md file
* fix: test
* chore: logo
* chore: formatting
* chore: add edgedb to doc
---------
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-16 11:03:48 +07:00
Dewin Umana
f87e66f0b3
feat(providers): TikTok provider ( #8131 )
...
* feat(providers): TikTok provider
* Linting
* Move files under the correct paths
* Added Tiktok Provider
* Update Bug provider template
2023-09-15 12:14:44 +07:00
k8pai
b1c46809f5
fix(docs): remove typesafety statements as string ( #8566 )
...
Removed typesafety statement `as string` from Configuring Auth.js of /adapter-dynamodb
2023-09-12 14:42:25 +02:00
Thang Vu
b9e9722b74
feat(providers): Dribbble provider ( #8531 )
...
* feat(providers): add Dribbble provider
* update Dribbble
Co-Authored-By: Pavel Fomchenkov <hello@pavel.codes >
---------
Co-authored-by: Pavel Fomchenkov <hello@pavel.codes >
2023-09-09 14:07:24 +07:00
GitHub Actions
57f75c7839
chore(release): bump package version(s) [skip ci]
@auth/mongodb-adapter@2.0.0
@auth/core@0.14.0
2023-09-07 15:59:48 +00:00
Jonas Strassel
e20eb5b583
feat: bump mongodb to v6 ( #8492 )
...
BREAKING CHANGE:
The required minimum version of `mongodb` has been bumped to v6, make sure to upgrade it in your project via `npm i mongodb@latest` or the equivalent
2023-09-07 17:54:16 +02:00
Thang Vu
fb7c5f9ef6
feat: Mastodon Provider ( #8516 )
...
Co-authored-by: Leif Arriens <30775450+leifarriens@users.noreply.github.com >
2023-09-07 22:18:11 +07:00
Anthony Shew
e986369906
docs: Add more detail to Credentials provider. ( #8482 )
...
* Soften messaging on Credentials provider documentation.
* Get rid of the swap.
* Switch to using authorize().
2023-09-06 00:24:27 +02:00
Antonio Basile
f3c64a85c9
feat(providers): Click up provider ( #8489 )
...
* feat: click up provider created
* docs: ClickUp documentation
* Format
---------
Co-authored-by: Antonio Basile <antoniobasile2@eng.it >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-05 22:13:56 +07:00
GitHub Actions
4f3241f8dd
chore(release): bump package version(s) [skip ci]
@auth/sveltekit@0.3.7
@auth/sequelize-adapter@1.0.2
2023-09-04 23:02:35 +00:00
Jason
65043ba471
fix: return Session from deleteSession() ( #8484 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-09-04 16:17:48 +02:00
Balázs Orbán
46c5a97a0e
chore: add passage issuer
2023-09-03 13:24:03 +02:00
Balázs Orbán
9f99066b19
chore: update NextAuth.js example to use App Router ( #8477 )
...
* move initiaization to App Router
* add more providers
* don't use default export
* update tsconfig
* move under api
* add more providers
* add issuer
* add issuer
2023-09-03 11:59:58 +01:00