Balázs Orbán
f06f3bbc96
chore(release): bump version [skip ci]
2023-07-18 15:53:30 +02:00
Thang Vu
aea27a1fa8
fix: remove unused TS types
2023-07-16 22:32:55 +07:00
Thang Vu
bd37c55241
fix(ts): adapter interface ( #8054 )
2023-07-16 20:47:18 +07:00
Rexford Essilfie
169a5230db
fix(ts): add overloads to withAuth middleware ( #7999 )
...
* fix(ts): add overloads to withAuth middleware
* fix: allow extends Request on returned middleware handler
* chore: simplify return type for withAuth returning middleware
* chore: remove withAuth overloads generics
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-07-12 10:49:50 +07:00
Francis Gulotta
f48eb0478e
fix(providers): fix nodemailer/required types ( #7950 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-07-11 12:57:37 +02:00
Balázs Orbán
9417822a41
Update oauth.ts
...
Closes #7608
Co-authored-by: aaazzz <akrm@hey.com >
2023-06-01 11:17:23 +01:00
Balázs Orbán
14f8f0cb58
docs: rephrase
...
Closes #7531
Co-authored-by: Trey Speakman
<100887275+treyspeakman@users.noreply.github.com >
2023-05-19 00:58:27 +01:00
Thang Vu
bc683a5b72
chore: merge changes back to v4 ( #7430 )
...
* docs: Remove --save from install command (#7277 )
Remove --save from install command
--save is no longer needed on npm install.
* chore: fix "Contributing guide" link (#7279 )
* fix: detect origin when `instanceof Request` check fails (#7303 )
* docs: Update Clerk sponsorship URL (#7305 )
- Change Clerk URL from `https://clerk.dev ` to `https://clerk.com `
- Fix alt from copy/paste
* chore: bump react types
* fix(docs): fix default `maxAge` formula (#7406 )
* Update pnpm-lock.yaml
* sync package.json change
---------
Co-authored-by: Chris Hayes <6013871+Christopher-Hayes@users.noreply.github.com >
Co-authored-by: Raul <57044803+Leprekus@users.noreply.github.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Nick Parsons <nparsons08@gmail.com >
Co-authored-by: Victor <saptefrativictor@gmail.com >
2023-05-04 20:05:33 +01:00
Balázs Orbán
6edb6ddaaf
fix: respect protocol too, when host is trusted ( #7214 )
...
* fix: respect protocol too when host is trusted
* simplify
2023-04-12 11:30:20 +01:00
Balázs Orbán
0711d32a00
chore(release): bump version [skip ci]
2023-04-09 11:54:51 +02:00
Balázs Orbán
c261af4695
feat: support Route Handlers ( #6777 )
...
* feat: support Route Handlers
* update dev app
* init NextAuth via Route Handler in dev app
* import as type
* fix labeler
* default secret to `NEXTAUTH_SECRET`
* handle redirects
* support advanced init in Route Handlers
* use port 3000 for docs dev
* document initialization with Route Handlers
* upgrade to latest `next`
* upgrade to 13.3.0
* remove workaround
* cleanup
2023-04-09 10:51:49 +01:00
Balázs Orbán
d69f311ddc
chore(release): bump version [skip ci]
2023-04-03 12:15:24 +02:00
Julius Marminge
ec8a34308b
fix(ts): revert session callback type changes ( #7136 )
...
Fixes https://github.com/t3-oss/create-t3-app/issues/1328
2023-04-03 12:14:24 +02:00
Balázs Orbán
c0bf2f15fb
chore(release): bump version [skip ci]
2023-04-02 11:30:53 +02:00
Thang Vu
d8901777bf
fix: revert #6814 ( #7125 )
2023-04-02 11:27:52 +02:00
Balázs Orbán
319f2ce165
fix(ts): mark id in updateUser as always defined
...
Closes #7027
2023-03-29 14:16:58 +02:00
Balázs Orbán
2d907f0004
feat: make it possible to update the session ( #7056 )
2023-03-29 05:43:48 +02:00
Abdulaziz Askaraliev
86d031faba
fix(providers): add types for yandex provider ( #7073 )
...
* fix(providers): yandex add types
* chore(providers): yandex added comments
* Update yandex.ts
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-27 00:39:54 +01:00
Balázs Orbán
feaeda9e2a
chore: release with declaration maps
2023-03-25 16:18:38 +01:00
Balázs Orbán
e127600ad4
chore: fix tests
2023-03-25 15:37:17 +01:00
Peter
8aa1789697
fix(oauth): allow jwks_uri to be set for non-wellKnown ( #7014 )
...
fix(oauth): allow jwks_uri to be set for non-wellKnown flow by passing jwks_endpoint
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-03-25 18:57:22 +07:00
Balázs Orbán
ab0857a99e
chore: correct ts import
2023-03-02 20:32:28 +01:00
Balázs Orbán
50b117dfbb
chore(release): bump version [skip ci]
2023-03-02 20:08:55 +01:00
Balázs Orbán
e6590ffc20
fix: unify checks
2023-03-02 20:08:28 +01:00
Balázs Orbán
26c846594f
chore(release): bump version [skip ci]
2023-03-02 01:53:44 +01:00
Balázs Orbán
2432ce9001
fix: throw error on missing state
2023-03-02 01:50:05 +01:00
Thang Vu
2fb34bab51
feat: priortize NEXTAUTH_URL_INTERNAL ( #6814 )
2023-02-25 18:51:16 +00:00
Raúl Marín
5ecf20a804
fix: Add missing logo to Default Signin Page ( #6728 )
...
fix(packages\next-auth\src\core\pages\signin.tsx): add missing logo
2023-02-17 10:23:10 +07:00
Balázs Orbán
3943f9b7b2
fix(next-auth): remove engines requirement on openid-client ( #6654 )
2023-02-09 01:52:50 +01:00
Balázs Orbán
4e94d89554
chore(release): bump version
2023-02-02 02:16:28 +01:00
Balázs Orbán
43d66fcb23
fix(ts): stop using typeof + generic together ( #6595 )
2023-02-02 02:15:43 +01:00
Thang Vu
bfcf1a3604
chore(release): bump version [skip ci]
2023-01-31 19:25:50 +07:00
Thang Vu
5b1555ed97
feat: redesign all default pages
...
sync from core via #5825
Co-Authored-By: Rein Undheim <46612252+Gawdfrey@users.noreply.github.com >
2023-01-31 17:40:46 +07:00
Vu Van Dung
0ed07b31b6
fix(ts): correctly type unstable_getServerSession ( #6560 )
...
* fix: type of unstable_getServerSession
Signed-off-by: Vu Van Dung <me@joulev.dev >
* Apply suggestions from code review
---------
Signed-off-by: Vu Van Dung <me@joulev.dev >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-01-30 12:10:26 +00:00
Balázs Orbán
e847b3466f
chore(release): bump version [skip ci]
2023-01-28 13:24:50 +01:00
Balázs Orbán
8df6d5b469
feat: make generateSessionToken awaitable ( #6536 )
...
Co-authored-by: @HommeSauvage
2023-01-28 12:19:32 +00:00
Balázs Orbán
0bcaeca369
feat: remove unstable_ prefix getServerSession ( #6535 )
...
* feat: remove `unstable_` prefix from `getServerSession`
* fix test
* fix lint
2023-01-28 12:12:00 +00:00
Balázs Orbán
4f5ddbcb76
fix(oauth1): pass oauth_token_secret ( #6534 )
...
* Pass oauth_token_secret in OAuth 1.0 calls
* simplify
* simplify
---------
Co-authored-by: dawidos234 <dawidos234@gmail.com >
2023-01-28 09:44:23 +00:00
Balázs Orbán
0cbeb4055e
chore(release): bump version
2023-01-24 14:03:59 +01:00
Balázs Orbán
5a128db369
fix(providers): add slash to default logo urls
...
fixes #6495
2023-01-24 14:03:40 +01:00
Balázs Orbán
c385cf8c7c
chore(release): bump version [skip ci]
2023-01-24 02:47:03 +01:00
Balázs Orbán
53fa46744c
chore: match core
2023-01-24 02:40:29 +01:00
StachowiakDawid
451eaaabd2
fix: Allow adding own logo to provider ( #6465 )
2023-01-24 02:35:30 +01:00
Balázs Orbán
f54424c216
fix(next-auth): remove engines
2023-01-24 02:24:45 +01:00
Balázs Orbán
09bcc1d504
fix(providers): default image to null for Azure AD
...
Fixes #6482
2023-01-24 02:24:35 +01:00
Balázs Orbán
230164f751
chore: bump version [skip release]
2023-01-07 08:22:24 +01:00
Balázs Orbán
400d0f1842
fix: move logos
2023-01-07 08:18:35 +01:00
Balázs Orbán
2bd60f6626
chore(release): bump version
2022-12-22 00:56:48 +01:00
Balázs Orbán
a83573ed2f
fix(next-auth): revert to 4.17 to fix host issues but keep other fixes ( #6132 )
...
* fix(next-auth): revert to 4.17 and replay other fixes
* revert line change
* replay some TS changes to reduce diff
* fix tests
* revert more renames
* revert renames
* fix test, cleanup
2022-12-21 23:48:38 +00:00
Mark Scerri
6242aa7ecb
fix: incorrect signin redirect url on session required ( #5976 )
...
Fixes https://github.com/nextauthjs/next-auth/issues/5296
2022-12-19 14:26:02 +01:00