Balázs Orbán
6e9356dcb1
chore: bump @balazsorban/monorepo-release
2023-10-05 16:18:26 +02:00
Balázs Orbán
17e45d88e5
Merge branch 'main' of github.com:nextauthjs/next-auth
2023-10-05 15:36:31 +02:00
Balázs Orbán
63c9326664
fix: move crypto polyfill to test
2023-10-05 15:36:26 +02:00
GitHub Actions
ff3a7392fb
chore(release): bump package version(s) [skip ci]
@auth/sequelize-adapter@1.0.3
@auth/prisma-adapter@1.0.3
@auth/dgraph-adapter@1.0.1
@auth/core@0.16.1
@auth/drizzle-adapter@0.3.3
@auth/supabase-adapter@0.1.4
@auth/surrealdb-adapter@0.1.1
@auth/mikro-orm-adapter@1.0.2
@auth/firebase-adapter@1.0.1
@auth/fauna-adapter@1.0.1
@auth/neo4j-adapter@1.0.1
@auth/pg-adapter@0.2.1
@auth/d1-adapter@0.2.1
@auth/kysely-adapter@0.1.2
@auth/azure-tables-adapter@0.1.1
@auth/upstash-redis-adapter@1.0.2
@auth/edgedb-adapter@0.2.1
@auth/mongodb-adapter@2.0.1
@auth/typeorm-adapter@1.0.4
@auth/sveltekit@0.3.9
@auth/xata-adapter@0.1.1
@auth/dynamodb-adapter@1.0.3
@auth/pouchdb-adapter@1.0.1
2023-10-03 15:58:58 +00:00
Balázs Orbán
e1ba0c948e
chore: remove dry run flag
2023-10-03 17:54:15 +02:00
Balázs Orbán
304575581b
chore: bump @balazsorban/monorepo-release
...
Fixes #6226
2023-10-03 17:32:23 +02: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
Balázs Orbán
a767456e36
docs: fix link
...
Closes #8760
2023-10-02 01:02:28 +01:00
GitHub Actions
b277e937e2
chore(release): bump package version(s) [skip ci]
@auth/upstash-redis-adapter@1.0.1
@auth/typeorm-adapter@1.0.3
@auth/solid-start@0.1.2
@auth/sveltekit@0.3.8
2023-10-02 00:00:42 +00:00
Balázs Orbán
59b2847274
docs: fix fallback edit link
2023-10-02 01:57:56 +02: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
45e721c3f7
docs: typo
2023-09-29 23:03:04 +02:00
Balázs Orbán
de8ad4f5af
docs: fix typos
2023-09-29 22:58:13 +02:00
Balázs Orbán
9462b8ffb4
docs: update FAQ
2023-09-29 22:55:01 +02:00
Balázs Orbán
1cf0eeace6
docs: add more info to session strategies
2023-09-29 21:52:16 +01: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
Balázs Orbán
67c29039c7
chore: bump minimum node version
2023-09-29 22:23:54 +02:00
Balázs Orbán
e9ad688a5a
docs: add session strategies concepts
2023-09-29 22:07:06 +02:00
GitHub Actions
8f8067a23a
chore(release): bump package version(s) [skip ci]
@auth/supabase-adapter@0.1.3
@auth/core@0.16.0
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
cff0d61e07
chore: format turbo.json
2023-09-28 01:45:58 +02:00
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