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
Yoann Fleury
6a364f0353
docs: update CONTRIBUTING for pnpm instead of yarn ( #4888 )
...
* docs: update CONTRIBUTING for pnpm instead of yarn
* dev:app -> dev
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
2022-07-11 10:38:30 +07:00
mshd
c22d613774
feat(providers): Add Wikimedia Oauth Provider ( #4813 )
...
* Add Wikimedia Oauth Provider
* add docs
* Update wikimedia.md
* Update wikimedia.md
* Update wikimedia.md
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-07-10 19:38:01 +02:00
Nico Domino
9efafcd36c
chore: fix dev app URL parse error ( #4887 )
2022-07-10 14:30:10 +02:00
Misha Kaletsky
e317b16cd2
docs: getToken link ( #4884 )
...
fix(docs): getToken link
without `/` it's considered a relative link so goes to https://next-auth.js.org/configuration/tutorials/securing-pages-and-api-routes#using-gettoken which doesn't exist.
2022-07-09 22:46:38 +02:00
Rudy Boutte
2edc79ed2b
fix(docs): options page link ( #4876 )
2022-07-09 12:56:20 +02:00
Balázs Orbán
637dda9966
chore: tweak release script
2022-07-08 19:55:08 +02:00
Balázs Orbán
10bb32c479
chore(adapters): fix MikroORM adapter dependencies
2022-07-08 19:36:24 +02:00
Balázs Orbán
89e25568b1
chore: accept --dry-run flag in release script
2022-07-08 19:31:04 +02:00
Balázs Orbán
88ad25a16b
feat(adapters): update typeorm support ( #4844 )
...
We haven't kept up with the recent TypeORM changes, and since they are still <1, it's likely that users kept upgrading, even if there were breaking changes.
BREAKING CHANGE:
[`typeorm`](https://github.com/typeorm/typeorm ) is still in active development and has not yet published a stable release. Because of this, you can expect breaking changes in minor versions. This release of the adapter expects `typeorm@0.3.7` and is not validated against previous or future releases.
Run `npm i typeorm@latest` and make sure to read the [release notes](https://github.com/typeorm/typeorm/releases ) for breaking changes in TypeORM
2022-07-08 19:26:59 +02:00
Luiz Bett
c1f7ce3436
fix(ts): make colorScheme optional ( #4868 )
...
Documentation says if it is not passed it will be "auto", but it is mandatory on this type.
2022-07-08 19:24:30 +02:00
sean-nicholas
c59a4e04d1
fix(middleware): allow secret as option in Middleware ( #4846 )
...
* ✨ provide secret via config
* 🐛 make secret optional
* 📝 docs for middleware and env var
* 📝 recommendation at the end of paragraph
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-07 14:14:21 +02:00
Joshua Grant
3c210d961b
feat(providers): add Duende IdentityServer 6 ( #4850 )
...
* add duende identity server 6 provider
* Update docs/versioned_docs/version-v3/providers/duende-identity-server6.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/versioned_docs/version-v3/providers/duende-identity-server6.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/next-auth/src/providers/duende-identity-server6.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/next-auth/src/providers/duende-identity-server6.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/versioned_docs/version-v3/providers/duende-identity-server6.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update apps/dev/pages/api/auth/[...nextauth].ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/versioned_docs/version-v3/providers/duende-identity-server6.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/versioned_docs/version-v3/providers/duende-identity-server6.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/next-auth/src/providers/duende-identity-server6.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Joshua <joshua.grant@tempcover.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-07 14:12:35 +02:00
Balázs Orbán
9457593038
chore: update Next.js example, bump dependencies
2022-07-07 11:31:17 +02:00
dependabot[bot]
5081d25f5c
chore(deps): bump next-auth in /apps/playground-sveltekit ( #4859 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.5.0 to 4.9.0.
- [Release notes](https://github.com/nextauthjs/next-auth/releases )
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@v4.5.0...next-auth@v4.9.0 )
---
updated-dependencies:
- dependency-name: next-auth
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 00:34:27 +02:00
Rudy Boutte
384edbab3b
docs: Added documentation on how to use a custom base path in NextAuth ( #4858 )
2022-07-07 00:34:12 +02:00
Balázs Orbán
2adfadefdc
chore: bump version
next-auth@v4.9.0
2022-07-06 11:51:37 +02:00
Balázs Orbán
32fa01f939
chore: re-add GITHUB_TOKEN
2022-07-06 11:44:37 +02:00
Balázs Orbán
ae834f1e08
feat(providers): allow styling e-mail through theme option ( #4841 )
...
* fix(core): move email handling
* fix: don' use `replaceAll`
* feat(providers): re-use `theme` for e-mail
* docs: mention `theme` option for email
* fix: don't render user e-mail in the email HTML body
* docs: add missing comma
* refactor: fix lint
* refactor: fix lint
2022-07-05 16:02:04 +02:00
Nico Domino
4d4c276627
docs: replace npm2yarn with npm2yarn2pnpm docusaurus plugin ( #4805 )
...
* feat: rm npm2yarn add npm2yarn2pnpm plugin
* fix: pnpm-lock.yaml
* chore: test change
* fix: update npm2yarn2pnpm usage
* fix: package.json mistake packages added
* fix: pnpm-lock.yaml
* fix: test debug output
* fix: named import npm2yarn2pnpm
* chore: rm debug:true
* fix: change require statement
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Delete pnpm-lock.yaml
* add pnpm-lock.yaml
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-05 11:56:44 +02:00
Junichi Sato
f4c0d5ab5d
docs: Correct grammatical error ( #4836 )
2022-07-05 00:25:46 -04:00
Nico Domino
01cd6b0f7b
docs: fix unstable_getServerSession arguments ( #4815 )
...
* chore(docs): fix unstable_getServerSession arguments
* chore: add authOptions import
2022-07-03 23:27:37 +02:00
Nico Domino
993c0f46b0
fix: show experimental api warning only in dev and only once ( #4816 )
...
Co-authored-by: Lluis Agusti <hi@llu.lu >
2022-07-02 21:00:11 +02:00
Balázs Orbán
163d8c66e2
chore: bump version
next-auth@v4.8.0
2022-07-01 13:53:57 +02:00
Balázs Orbán
5319dca583
fix(ts): fall back to empty string when parsing cookie
2022-07-01 12:14:48 +02:00
Balázs Orbán
cd6ccfde89
fix(core): handle invalid email
2022-07-01 12:09:57 +02:00
Nico Domino
89d91ea282
chore: update docs regarding new server session API ( #4776 )
...
* chore: update docs regarding new server session API
* fix: add note about unstable_ API prefix
* Apply suggestions from code review
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-06-30 05:18:52 -04:00
Balázs Orbán
ca3165bd5a
Update README.md
2022-06-29 15:55:54 +02:00
Balázs Orbán
aa527b37bf
Update README.md
2022-06-29 15:54:49 +02:00
Richard
f3233641d0
docs: not -> now ( #4783 )
...
I assume this is meant to say "is now secured" ?
2022-06-28 19:12:48 +02:00
Balázs Orbán
4bee970775
chore: bump version
2022-06-28 18:28:53 +02:00
Balázs Orbán
80a4f50be2
chore: upgrade Docusaurus ( #4782 )
2022-06-28 12:55:43 +02:00
Ofek Asido
1f4ffbaefe
docs: wrong semicolon placement ( #4781 )
2022-06-28 12:45:48 +02:00
Balázs Orbán
a911b4a40b
chore(deps): upgrade dependencies
2022-06-28 12:22:11 +02:00