GitHub Actions
ff3a7392fb
chore(release): bump package version(s) [skip ci]
2023-10-03 15:58:58 +00:00
Thang Vu
5133892784
fix: set correct response status if X-Auth-Return-Redirect ( #8779 )
...
Copy from https://github.com/nextauthjs/next-auth/pull/8775
2023-10-03 01:14:47 +01:00
GitHub Actions
b277e937e2
chore(release): bump package version(s) [skip ci]
2023-10-02 00:00:42 +00:00
Balázs Orbán
e32fb16b17
fix: match typeorm peer dependencies
...
Closes #8769
2023-10-02 01:53:18 +02:00
Balázs Orbán
7cf0074417
chore: cleanup
2023-09-29 22:29:09 +02:00
Balázs Orbán
899098ccc4
fix: drop next-auth dependency
2023-09-29 22:28:57 +02:00
GitHub Actions
8f8067a23a
chore(release): bump package version(s) [skip ci]
2023-09-28 10:52:10 +00:00
Balázs Orbán
8629e16255
fix: allow csrfDisabled on session action
2023-09-28 12:48:04 +02:00
Balázs Orbán
bfa0d910d7
chore: disable build of next-auth on main
...
it's released from the `v4` branch right now
2023-09-28 12:21:50 +02:00
Balázs Orbán
41c24542b5
chore: drop duplicate provider-logos
2023-09-28 01:21:50 +02:00
Balázs Orbán
559842fe02
chore: remove v4 dev app
2023-09-28 00:51:04 +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
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]
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]
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
Bob Ippolito
9aeca63013
fix: Build account object with tokens spread as lowest priority ( #8599 )
2023-09-19 15:57:41 +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]
2023-09-16 13:48:09 +00: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
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]
2023-09-16 04:30:21 +00: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]
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
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]
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
Thang Vu
f1eb45f3c1
docs: Add callbacks example for Credential Provider
2023-09-02 09:40:31 +07:00
jonek
f621627914
fix(sveltekit): support custom base path properly ( #8231 )
...
* fix(sveltekit): support custom base path
* update server
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-02 00:03:22 +07:00
dependabot[bot]
2b6ad02bba
chore(deps-dev): bump mongodb from 4.7.0 to 4.17.0 ( #8461 )
...
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native ) from 4.7.0 to 4.17.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases )
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v4.17.0/HISTORY.md )
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v4.7.0...v4.17.0 )
---
updated-dependencies:
- dependency-name: mongodb
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 13:14:49 +01:00
GitHub Actions
1a23e41bca
chore(release): bump package version(s) [skip ci]
2023-09-01 12:13:47 +00:00
Balázs Orbán
f53c16a454
chore: fix supabase tests
2023-09-01 13:53:18 +02:00
Rexford Essilfie
2707f9ebfe
docs: fix failing docs build ( #8463 )
...
chore: lint azure-devops provider
2023-08-31 14:35:40 +01:00
Evgenii Perminov
35977bf132
fix(providers): Update type oidc for Linkedin ( #8345 )
...
* linked in provider options and profile update
* interface update
* removed unchecked property access
* unncessary async
* revert changes to v4
* fallback to default properties
* Update packages/core/src/providers/linkedin.ts
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-08-29 11:31:18 +07:00
Pavel Fomchenkov
578ff21d7e
feat(providers): add Azure DevOps provider ( #4698 )
2023-08-27 20:50:59 +07:00
Balázs Orbán
2ed407d6a5
fix: allow Prisma v5 as peer dependency
2023-08-25 11:32:38 +02:00