Balázs Orbán
6590993fdc
chore(release): bump package version(s) [skip ci]
@next-auth/pouchdb-adapter@v0.1.4
@next-auth/prisma-adapter@v1.0.4
@next-auth/upstash-redis-adapter@v3.0.1
@next-auth/neo4j-adapter@v1.0.4
@next-auth/mongodb-adapter@v1.0.4
@next-auth/fauna-adapter@v1.0.4
@next-auth/dynamodb-adapter@v1.0.4
@next-auth/dgraph-adapter@v1.0.4
@next-auth/firebase-adapter@v1.0.1
next-auth@v4.10.2
@next-auth/prisma-adapter@1.0.4
2022-07-21 16:35:03 +02:00
Balázs Orbán
0ea96796b2
fix: improve logger ( #4970 )
...
* fix: add debug warning, only show warnings once
* fix: prefer `debug` for details
* remove url
* test: fix tests
* Update docs/docs/errors.md
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
* Update callback.ts
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
2022-07-21 16:00:16 +02:00
Misha Kaletsky
8ec940bd6a
docs: highlight archiving of next-auth/react-query ( #4964 )
...
* docs: highlight archiving of next-auth/react-query
project is read-only and author said users should just copy-paste the implementation: https://github.com/nextauthjs/react-query/issues/7#issuecomment-923099050
* Update docs/docs/getting-started/client.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/docs/getting-started/client.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-21 13:59:46 +02:00
Balázs Orbán
e3bcdf83f1
chore: update lock file
2022-07-20 03:18:02 +02:00
Balázs Orbán
4084297334
chore(release): extract release script to its own package
2022-07-20 03:08:03 +02:00
Balázs Orbán
c9827960b1
chore(release): read packages dynamically
2022-07-20 00:36:49 +02:00
Balázs Orbán
946a825865
chore: fix adapters PR auto-labeler
2022-07-19 23:55:03 +02:00
Balázs Orbán
c57d8c997e
fix(adapters): set correct peer dependency version of next-auth ( #4950 )
...
* fix(adapters): set correct peer dependency version of `next-auth`
* fix fauna peer dependency
2022-07-19 23:46:45 +02:00
Balázs Orbán
e2b92bf04f
chore: add newlines to PR comment
2022-07-19 17:45:55 +02:00
Balázs Orbán
8bff050e4e
chore(release): bump version [skip ci]
next-auth@v4.10.1
2022-07-19 17:30:40 +02:00
Thang Vu
1a79a1a612
docs: FAQ framework-agnostic & session sharing ( #4962 )
...
Split a FAQ into two parts:
Before:
- Can I use NextAuth.js with a website that does not use Next.js?
After:
- Can I use NextAuth.js with a framework different than Next.js?
- Can session generated by NextAuth.js be used by another website?
2022-07-19 17:29:54 +02:00
Balázs Orbán
b7065a602f
chore: correct Middleware logic in Next.js example
2022-07-19 17:16:51 +02:00
Balázs Orbán
61b92ec1b6
chore: revert type assertion
2022-07-19 16:57:16 +02:00
Balázs Orbán
282f7ab340
fix(ts): fix Middleware internal type
2022-07-19 16:46:13 +02:00
Balázs Orbán
4f56e414b0
chore: simplify dev app
2022-07-19 16:42:21 +02:00
Yoann Fleury
2725d07eb7
fix(providers): migrate GitLab provider to TS ( #4929 )
2022-07-17 04:47:15 +02:00
Balázs Orbán
5a8b029523
docs: clarify getToken + secret in example
...
ref #4954
2022-07-17 04:44:11 +02:00
Balázs Orbán
f62a985848
docs: clarify getToken and secret
...
Ref: #4954
2022-07-17 04:39:47 +02:00
Balázs Orbán
edd6fb5989
Merge branch 'main' of github.com:nextauthjs/next-auth
2022-07-17 04:29:49 +02:00
Balázs Orbán
fb60554a62
chore(ts): explicitly set next path in next-auth
2022-07-17 04:29:44 +02:00
cobbvanth
9784dfb631
docs: Remove import of "useSession" from wrong location ( #4952 )
...
This tutorial snipped erroneously imports useSession from "next-auth/next", when it actually resides in "next-auth/react".
2022-07-16 23:06:00 +02:00
Balázs Orbán
4ff836a8cf
test(providers): add fetch polyfill to redis test runs
2022-07-16 17:39:32 +02:00
Balázs Orbán
042955eaaa
fix(providers): allow issuer in Azure AD B2C
2022-07-16 14:20:31 +02:00
Balázs Orbán
82e107c0e7
chore: improve dev app DX
2022-07-16 14:19:33 +02:00
dependabot[bot]
f7050347e8
chore(deps-dev): bump svelte from 3.46.4 to 3.49.0 in /apps/playground-sveltekit ( #4947 )
...
chore(deps-dev): bump svelte in /apps/playground-sveltekit
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.46.4 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.4...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 23:17:21 +02:00
Balázs Orbán
c56abbd745
chore: update CODEOWNERS ( #4941 )
...
* chore: update codeowners
* reorganize
2022-07-15 12:35:54 +02:00
Thang Vu
3f6d99e8df
chore: add Thang to contributor ( #4944 )
2022-07-15 12:34:36 +02:00
Balázs Orbán
46eedee3c8
fix(ts): remove TS workaround for withAuth ( #4926 )
...
* fix(ts): improve Middleware types
* docs: remove TS workaround for Middleware
* ignore lint
* simplify
2022-07-15 04:39:15 +02:00
Balázs Orbán
bb664a27da
fix(providers): typo in GitHub provider scope ( #4938 )
2022-07-15 04:38:42 +02:00
Balázs Orbán
a14fbea0b5
chore: add TODO comment for next major
2022-07-15 02:41:09 +02:00
Balázs Orbán
4705632c6b
chore: add TODO comment for next major version
2022-07-15 02:38:59 +02:00
Balázs Orbán
2296471f02
chore: add pnpm to experimental release comment
2022-07-15 02:20:06 +02:00
S. Suzuki
8853000fd5
fix(ts): handleMiddleware return type can be NextMiddlewareResult ( #4818 )
...
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-07-14 00:20:19 +02:00
Balázs Orbán
70ffa6592f
chore(release): bump package version(s) [skip ci]
@next-auth/firebase-adapter@v1.0.0
@next-auth/sequelize-adapter@v1.0.5
next-auth@v4.10.0
@next-auth/typeorm-legacy-adapter@v2.0.0
2022-07-13 14:16:44 +02:00
mshd
3666e438a3
refactor(providers): convert GitHub provider to TypeScript ( #4908 )
...
* rewrite github provider in typescript
* rename md js endings
* Update packages/next-auth/src/providers/github.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* add eslint disable next line
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-13 14:07:24 +02:00
Aliaksei Tayanouski
cdf467eba1
fix(providers): fix VK provider and convert to TS ( #3709 )
...
* renamed vk provider file extension to .ts
* lint issue fix
* vk provider fix
* formatting fix
* remove user_id from tokens
* Update src/providers/vk.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update src/providers/vk.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* user interface additions
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-13 14:04:55 +02:00
Balázs Orbán
374dc30f9f
chore: bump pnpm version requirement
2022-07-13 14:01:25 +02:00
Balázs Orbán
d9534d807d
chore: tweak release script
2022-07-13 13:59:45 +02:00
Balázs Orbán
f4c7401a5d
chore: fix release script text
2022-07-13 13:09:08 +02:00
Balázs Orbán
2baa0c30c1
chore: bump turbo
2022-07-13 13:08:58 +02:00
Sagar Gajare
839b9108ea
docs: provider link fixed ( #4913 )
2022-07-13 01:39:13 +02:00
Juho Tapio
0bf955a63d
docs: a few typos in CONTRIBUTING.md ( #4910 )
...
* docs: fixed a typo
* docs: update link to scripts index
* docks: more typos
* docs: added a comma
2022-07-12 17:58:54 +02:00
Balázs Orbán
83a974d455
docs: update Middleware docs
...
closes #4867
2022-07-12 17:19:23 +02:00
Nico Domino
8f54b8f729
docs: upgrade docusaurus-plugin-npm2yarn2pnpm ( #4909 )
2022-07-12 16:52:21 +02:00
nkg
1b91282402
fix(ts): use correct type for nodemailer config in the EmailProvider ( #4097 )
...
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
2022-07-12 02:50:09 +02:00
Ryan Barr
c2a9ab3023
fix(providers): convert Discord Provider to TypeScript ( #4170 )
...
* chore(providers): Add typings for Discord Provider
* Update DiscordProfile interface to extend Record.
2022-07-12 02:43:56 +02:00
Chancellor Clark
5bd00f6ff1
feat(adapters): update Firebase adapter to use new API ( #3873 )
...
Ports and refactors `@next-auth/firebase-adapter` to use the new Adapter API. Ported from this PR: nextauthjs/adapters#183
BREAKING CHANGE:
- Renames `FirebaseAdapter` export to `FirestoreAdpater`
- This adapter now requires firebase v9+
2022-07-12 01:45:06 +02:00
William Crutchfield
af3c2dd33d
fix(ts): typo in Azure Active Directory Provider ( #4895 )
2022-07-11 18:24:09 +02:00
John Brunton
709edc5153
fix(adapters): use correct peer dependency in Sequelize adapter ( #4880 )
2022-07-11 18:23:04 +02:00
Balázs Orbán
fa3ea37ebc
chore: comment out adapter in dev app
2022-07-11 18:20:53 +02:00