Thang Vu
068f9b50b8
chore(release): bump package version(s) [skip ci]
@next-auth/supabase-adapter@v0.2.0
next-auth@v4.17.0
2022-11-19 21:29:28 +07:00
Martin Sonnberger
dac490b7a1
feat(adapters): Add Supabase adapter ( #5050 )
...
* Add Supabase adapter
* Add Supabase adapter
* Add schema setup to docs
* supabase config changes
* chore: update to supabase-js v2.
* chore: migrate to next_auth schema.
* feat: add supabase examples.
* chore: update docs.
* chore: add telemetry.
* fix: resolve issues after merge.
* chore: extend session type.
* typo
* chore: remove unnecessary grants.
* fix: schema constraints.
Co-authored-by: thorwebdev <thor@supabase.io >
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com >
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-11-19 20:56:20 +07:00
Gregor Adams
c0f51669e2
docs: upadte mongodb guide ( #5809 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-16 16:38:55 +01:00
Nico Domino
cbf8ce3510
chore: fix signin btns svg URLs to 'main' ( #5826 )
2022-11-15 22:07:30 +01:00
Nico Domino
1c19cc71df
chore: add tour de source link to CONTRIBUTING.md ( #5820 )
2022-11-15 16:47:15 +00:00
Nico Domino
9d962a0056
feat: add signin button styles ( #5802 )
...
* feat: add signin button styles
* fix: remove unnecessary spans
chore: rm comments
* Update packages/next-auth/src/core/pages/signin.tsx
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* feat: add provider svgs to repo
* fix: adjust SVG sizes
* fix: adjust provider btn to logo links
* feat: apple provider btn style
* fix: add apple-dark svg
* feat: atlassian logo and style
* feat: auth0 logo and style
* feat: azure logo and style
* fix: azure logo size
* feat: battlenet logo and style
* feat: box logo and style
* feat: cognito logo and style
* feat: discord logo and style
* feat: facebook logo and style
* feat: foursquare logo and style
* fix: foursquare logo size
* feat: freshbooks logo and style
* feat: gitlab logo and style
* fix: gitlab logo whitespace
* feat: hubspot logo and style
* feat: instagram logo and style
* feat: keycloak logo and style
* feat: keycloak logo resize
* feat: linkedin logo and style
* feat: mailchimp logo and style
* feat: okta logo and style
* feat: update okta logos
* feat: patreon logo and style
* fix: okta logo viewbox
* feat: slack logo and style
* feat: spotify logo and style
* feat: todoist logo and style
* fix: spotify logo size
* feat: trakt logo and style
* feat: twitch logo and style
* feat: twitter logo and style
* feat: vk logo and style
* feat: wikimedia logo and style
* feat: workos logo and style
* fix: wikimedia-dark logo + twitter (legacy)
* fix: button:active styling
* fix: ignore eslint inline css custom properties warning
* fix: improve darkmode default btn stylign
* fix: swap github btn colors
* fix: swap line btn theme colors
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-11-15 16:46:42 +00:00
Håkon Collett Bjørgan
8387c78e3f
fix(core): update JSDoc for jwt in NextAuthOptions ( #5804 )
2022-11-13 07:55:35 +01:00
Balázs Orbán
58e30a6af6
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.4
2022-11-07 21:33:48 +01:00
Balázs Orbán
b7ff987baf
docs: update unstable_getServerSession in RSC
2022-11-07 21:20:06 +01:00
Balázs Orbán
782812a52b
fix(next): correctly parse headers with RSC ( #5753 )
...
* fix(next): correctly parse headers with RSC
* chore(dev): simplify/fix dev app
* make authOptions optional for RSC case
2022-11-07 20:19:14 +00:00
Balázs Orbán
32f2a0cea3
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.3
2022-11-07 03:40:46 +01:00
Balázs Orbán
3343ef18b2
fix(next): conditional RSC support ( #5745 )
...
* fix(next): conditional RSC
* use Node 16 for version determination
* convert cookies
* use map instead of reduce
2022-11-07 02:33:47 +00:00
Robert Soriano
6280fe9e10
docs: add Nuxt 3 playground ( #5746 )
2022-11-06 20:33:02 +01:00
Balázs Orbán
52a2bf3e28
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.2
2022-11-06 06:24:30 +01:00
Balázs Orbán
180c6252d9
fix(next): build RSC+unstable_getServerSession
2022-11-06 06:09:27 +01:00
Balázs Orbán
362e981e6d
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.1
2022-11-06 06:07:47 +01:00
Balázs Orbán
5198eb19f7
fix(next): build RSC+unstable_getServerSession
2022-11-06 05:53:38 +01:00
Balázs Orbán
0210cfccf3
chore(release): bump package version(s) [skip ci]
next-auth@v4.16.0
2022-11-06 05:12:31 +01:00
Balázs Orbán
e90925bea0
feat(next): allow unstable_getServerSession in Server Components ( #5741 )
...
* feat(next): support Server Components with `unstable_getServerSession`
* chore: remove `.entries`
* docs(next): add documentation for RSC
* update beta docs
* chore(dev): add app dir
* fix text
* only show second warning if using with RSC
* only delete expires for RSC case
2022-11-06 04:03:26 +00:00
Leif Arriens
27a0b70d87
docs: fix import path at providers/oauth ( #5725 ) ( #5736 )
2022-11-06 00:54:01 +01:00
Balázs Orbán
c676e93d8a
chore(release): bump package version(s) [skip ci]
next-auth@v.4.15.2
2022-11-05 23:43:00 +01:00
Matthew Francis Brunetti
f498e9cd0a
fix(react): allow imports from "next-auth/react" in RSC ( #5718 )
2022-11-05 23:09:51 +01:00
Balázs Orbán
2f3396d376
chore(release): bump package version(s) [skip ci]
@next-auth/xata-adapter@v0.2.0
next-auth@v4.15.1
2022-11-04 03:48:42 +01:00
Balázs Orbán
e62f879ebd
chore(adapters): run Xata tests
2022-11-04 03:38:24 +01:00
Balázs Orbán
f67959eb04
chore: update example to Next.js 13
2022-11-04 03:33:42 +01:00
Henrik Wenz
060953dacf
fix: support Next.js 13 ( #5710 )
...
* Migrate dev app to Next.js Version 13
* Update core types
* Fix middleware
https://github.com/nextauthjs/next-auth/issues/5649
* Use new ResponseCookie API
https://github.com/vercel/next.js/pull/41526
2022-11-04 03:32:48 +01:00
Nico Miebach
30ad639d16
fix: Add support for Node 18 ( #5656 )
...
* add support for Node 18
* update node engines in packages/next-auth
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-30 23:54:16 -07:00
Thang Vu
777da4302d
fix: add next 13 as peer dependencies ( #5657 )
...
fix: add next 13 as peer dependencies
2022-10-30 23:46:24 -07:00
Tejas Kumar
733fd5f234
feat(adapters): add Xata adapter ( #4911 )
...
* Add Xata adapter
* Adjust slogan
* Namespace tables for better DX
* Fix types
* Adjust docs
* Import type only
* Add scripts
* Fix types
* Update packages/adapter-xata/package.json
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/adapter-xata/package.json
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/adapter-xata/src/index.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/adapter-xata/src/index.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update packages/adapter-xata/src/index.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/docs/adapters/xata.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update docs/docs/adapters/xata.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Address more comments
* Clarify codegen
* Fix by adding src
* Fix types
* More cleanup
* Fix import
* Clean up model
* Adjust docs
* Update docs
* Housekeeping
* Add tests
* Update lockfile
* Update packages/adapter-xata/tsconfig.json
Co-authored-by: Thang Vu <hi@thvu.dev >
* Update packages/adapter-xata/src/index.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-27 21:39:49 +07:00
Thang Vu
a787efc6be
docs: improve documentation for adding new provider ( #5633 )
2022-10-25 10:05:52 +07:00
Bruno Crosier
261968b9bb
docs: improve credentials docs ( #5627 )
2022-10-24 23:33:46 +07:00
Thang Vu
4dbbe5b2d9
chore(release): bump package version(s) [skip ci]
next-auth@v4.15.0
2022-10-23 22:17:19 +07:00
Balázs Orbán
d9df582fa8
feat(client): add refetchWhenOffline option ( #4940 )
...
* feat(client): add `refetchWhenOffline` option
* docs(client): document `refetchWhenOffline` option
* add TODO comment for next major
* feat: improve refetch hook logic
* fix: add todo back
* chore: small refactoring
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-23 22:09:30 +07:00
Matsuoka
af840b2106
feat(providers): Add Todoist provider ( #5253 )
...
* feat: Add Todoist provider
* fix: use openid-client
* chore: add Todoist provider to issue template
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-23 17:16:06 +07:00
jcdogo
ba89907d5a
feat: Add allowDangerousEmailAccountLinking option for OAuth providers ( #5513 )
...
* Add opt-in for dangerous linking
* Add documentation for allowDangerousEmailAccountLinking option.
* Add link to FAQ.
* Fix nullish coalescing operator linting error.
2022-10-23 17:08:25 +07:00
Steven Tey
08eaeba79f
docs: Fixed typo ( #5609 )
2022-10-21 10:07:13 +01:00
Usman Sabuwala (Max Programming)
c31eabfcc6
docs: Update the nodemailer well known page URL ( #5573 )
2022-10-19 22:28:40 +02:00
Balázs Orbán
4423673424
docs: update patreon.md
2022-10-18 21:32:51 +01:00
X
281d0948b9
docs: Typo error on Example ( #5590 )
...
Removed unwanted ")" from Example
2022-10-18 21:32:33 +01:00
Lluis Agusti
5246183c55
chore: docs updates ( #5581 )
...
* chore: fix version label
* upgrade docusaurus
* fix
* fix
* fix links, NextAuth -> NextAuth.js
* NextJS -> Next.js
* fix guides
* add docusaurus type
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-10-15 16:39:33 +01:00
Lluis Agusti
cb56cd44ca
refactor(docs): re-structure ( #4498 )
...
* docs: beta initial commit
* docs(oauth): finish initial tutorial
* docs(oauth-tutorial): finish guide
* docs(docusaurus): just log broken links
* docs: re-organising beta
* docs(beta): sort documents for sorting
* docs: more re-structure
* docs: more re-structure (2)
* fix: more WIP
* fix: more WIP
* chore: more updates
* chore: wip
* chore: wip
* fix lock file
* docs(getting-started): credentials
* chore: remove json-server file
* chore: cleanup
* remove mongodb from dev app
* chore: cleanup
* revert
* chore: cleanup
* chore: more cleanup changes
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-10-15 15:45:33 +01:00
Mischa Spiegelmock
6758e1c6d1
refactor(core): allow trusting the forwarded host header ( #5561 )
...
* Non vercel-specific way to forward host header
* Update packages/next-auth/src/utils/detect-host.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-10-15 14:17:20 +02:00
Thang Vu
462cca1087
chore(release): bump package version(s) [skip ci]
next-auth@v4.14.0
2022-10-14 08:52:04 +07:00
Thang Vu
ab48fcfe5b
chore: remove codeql run on main push
2022-10-14 08:37:59 +07:00
Thang Vu
fe7aaeded8
fix(ts): TS Module Augmentation ( #5556 )
...
* fix: TS Module Augmentation
* match type to AdapterUser
* refactor authorize callback
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-10-13 09:39:12 +07:00
Anthony Shew
c53c09ea5c
docs: options.md grammar fixes ( #5562 )
...
Update options.md
Just some grammar!
2022-10-12 20:07:53 +01:00
Matteo Giardino
4bcba45294
docs(client): typo ( #5545 )
2022-10-11 01:44:15 +01:00
David Walsh
eb5a9bad9d
chore(dev): update SvelteKit playground to 1.0.0-next.511 ( #5531 )
...
* Update playground-sveltekit to sveltekit rc 511
* Remove prettier config and format
* Fix adapter comment
2022-10-10 18:20:51 +02:00
Balázs Orbán
9a6d95c17c
chore: fix TS lint
2022-10-10 02:11:46 +02:00
Balázs Orbán
5b2fc7b570
chore: fix neo4j build
2022-10-10 02:04:09 +02:00