Thang Vu
89829d8a88
chore: fix unstable_getServerSession usages in dev app ( #5017 )
...
chore: fix unstable_getServerSession usages in dev app
2022-07-25 23:08:59 +02:00
Balázs Orbán
4f56e414b0
chore: simplify dev app
2022-07-19 16:42:21 +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
82e107c0e7
chore: improve dev app DX
2022-07-16 14:19:33 +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
fa3ea37ebc
chore: comment out adapter in dev app
2022-07-11 18:20:53 +02: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
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
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
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
Balázs Orbán
99f5b9616f
fix: update Middleware ( #4757 )
...
* merge `main`, fix workspace dependencies
* chore(dev): use `matcher` in Middleware
* fix(middleware): support `cookies` as `Map`
* simplify
* chore(example): use new Middleware API
* chore(example): use `next-auth@latest`
* docs(middleware): document new Middleware API
* docs(ts): update inline example
* fix(ts): make cookies optional
* remove non-null assertion
2022-06-24 14:11:39 +02:00
Nico Domino
e8827cbf45
chore(docs): update securing pages tutorial ( #3982 )
...
Co-authored-by: Lluis Agusti <hi@llu.lu >
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
2022-06-24 10:02:26 +02:00
Thang Vu
66fb914a31
feat: introduce experimental unstable_getServerSession API ( #4116 )
...
* refactor: improve `getServerSession` API
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Apply review comment
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Address docs review
* Fix a typo
* Update lint file location
* Address review comments
* getServerSession -> unstable_getServerSession
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Dragate <spidfair@gmail.com >
* Update packages/next-auth/package.json
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Dragate <spidfair@gmail.com >
2022-06-23 12:15:15 +02:00
Wayne Shih
8199c96b76
fix: update font-family stack ( #4192 )
2022-03-17 13:43:08 +01:00
Deepak Prabhakara
001354eaa8
feat(providers): add BoxyHQ SAML provider ( #3782 )
...
* added saml-jackson provider
* incorporated code review changes
* fixed SAMLJacksonProfile type
* trying to adjust code for monorepo
* cleanup from merge with main
* updated docs link
* added example
* consistent naming
* Incorporated code review changes:
- env var default values moved to env.local.example
- consistent naming and use of id
* email is guaranteed to be present
2022-03-05 23:52:55 +01:00
Balázs Orbán
caa9a17fc8
fix(providers): refactor WorkOS to work in v4 ( #3886 )
...
* refactor(dev): moved dev app
* chore(dev): fix dev app
* fix(providers): WorkOS to TS, use `client_secret_post`
* chore: decrease test concurrency
* chore: remove org
* chore: run tests sequentially
* feat(providers): use `picture` in WorkOS if available
2022-02-13 17:56:01 +01:00
Balázs Orbán
a7c55b752f
chore(dev): move dev app to apps workspace ( #3888 )
...
* chore: move dev app
* chore: run tests sequentially
2022-02-09 01:12:24 +01:00