Anthony Jocks
0a689b4f4e
docs: typo in faq.md ( #6826 )
2023-02-28 12:53:44 +01:00
Olabode Lawal-Shittabey
d0e7689d07
docs: fix typo on 'nextjs#getserversession' page ( #6790 )
2023-02-23 14:56:58 +01:00
Balázs Orbán
c004659174
docs: add IDS6 documentation
2023-02-22 02:00:56 +00:00
Tom
c212e96f83
docs(providers): fix broken sudo pipe in hostname example ( #6769 )
...
`sudo echo > /etc/hosts` attempts to write to /etc/hosts as a non-priv user, which will fail. `echo | sudo tee /etc/hosts` works.
2023-02-22 01:49:05 +00:00
Balázs Orbán
d41f2a4a02
docs: fix typo
2023-02-21 18:28:05 +01:00
Steve Fuller
9e423f3252
docs: Update custom sign in getProvider example ( #6706 )
...
According to the function declaration for [getProviders()](https://github.com/nextauthjs/next-auth/blob/v4/packages/next-auth/src/react/index.tsx#L187 ) it doesn't accept any parameters. Therefore have removed passing of an argument in the doc example.
Using the documentation as is will result in multiple type errors as [referenced in an issue I've posted about](https://github.com/nextauthjs/next-auth/issues/6704 )
2023-02-13 12:56:10 +00:00
Jiří Hofman
cf810f246a
docs: fix wording for deployment on Vercel preview ( #6705 )
2023-02-13 12:50:14 +00:00
Balázs Orbán
05fe398b1a
docs: redirect to new refresh token article
2023-02-10 11:59:18 +01:00
Balázs Orbán
8659c02366
docs: stop encouraging adding providers to legacy
2023-02-10 02:01:10 +01:00
Balázs Orbán
2e039643b6
docs: fix path
...
closes #6663
2023-02-10 01:59:41 +01:00
Balázs Orbán
f2e85c2113
chore: redirect to more up-to-date docs
2023-02-05 15:13:14 +01:00
Robin
c53c868288
docs: update pages configuration example to typescript ( #6596 )
...
* Update examples to TS
* docs: update files names to corresponding TSX
having jsx syntax, file needs to be jsx/tsx.
* Apply suggestions from code review
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-02-03 13:59:36 +00:00
Balázs Orbán
0bc4fcb51a
docs: clarify token and user in session callback
...
closes #6602
2023-02-03 13:52:12 +00:00
Ojoechem Chinonso
139c2edb50
docs: redirect from custom sign in page if signed in ( #6589 )
...
* Add success handler to getServerSideProps
This change adds a code that gives the user a sense of direction on what to do if the OAuth sign in is successful.
* Update docs/docs/configuration/pages.md
This is noted
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Update getSession to getServerSession
Change the getSession in getServerSideProps to the new getServerSession
* 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 >
2023-02-03 12:59:22 +00:00
OrJDev
2311be7589
docs: Remove the unstable note. ( #6537 )
2023-01-28 15:15:09 +01: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
Chiemerie Arum
6ecf9cb93d
docs(client): Improve grammar ( #6444 )
...
Improve grammar
2023-01-20 11:14:40 +00:00
Judicael
ba2711d279
docs: Remove Demo Identity server 4 ( #6354 )
...
Since the demo is not working anymore (removed), we should remove the demo identity server from the docs
2023-01-10 12:05:59 +00:00
Nicholas
d1dd8d95c4
chore(docs): fix middleware verbiage ( #5981 )
...
* Make documentation easier to understand
* Apply suggestions from code review
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-12-31 08:33:36 +00:00
Jesús Ferretti
554ec439c9
fix(docs): import NextAuth correctly ( #6206 )
...
fix(docs): fix typo
2022-12-27 23:50:33 +01:00
Iswar Mondal
8e4db3899a
docs: Replaced the word peer dependency ( #6197 )
2022-12-27 14:27:31 +01:00
Rob Hyrkiel
444b99ee96
docs: fix broken links related to issue #6157 ( #6183 )
2022-12-26 11:45:10 +01:00
Nico Domino
f12b527300
chore(docs): fix aloglia docusaurus.config.js settings (v4) ( #6160 )
...
chore(docs): fix docusaurus algolia config
2022-12-23 12:39:47 +01:00
Balázs Orbán
ac48211967
chore: fix edit link
...
Mentioned in #6142
2022-12-22 15:48:39 +00:00
ndom91
6482e359b7
fix: update aloglia index name for next-auth-v4
2022-12-15 21:51:32 +01:00
Balázs Orbán
64aac2efc0
docs: fix links
2022-12-13 23:42:47 +01:00
Balázs Orbán
df37a24c23
docs: remove unreleased
2022-12-13 23:33:00 +01:00
Balázs Orbán
36f44a869a
chore: move files to nextuahtjs/.github
2022-12-13 17:40:17 +01:00
Thomas Desmond
eddd8fd7f9
chore(docs): add new tutorial ( #5604 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-12-08 18:24:58 +01:00
Balázs Orbán
63c2a15717
Update nextjs.md
2022-12-07 14:39:57 +01:00
Jason Brady
f277989c69
feat(core): make pkce and state maxAge configurable on the cookies ( #4719 )
...
* feat(cookies): make pkce and state maxAge configurable on the cookies (#4660 )
* added tests for pkce and state handlers
2022-12-01 08:02:42 +07:00
Nico Domino
1ff565da6c
chore(docs): update oauth.md styling docs ( #5899 )
...
* chore(docs): update oauth.md styling docs
* chore: add note about styling object
* chore: typo
* chore: filename typos
2022-11-30 15:43:55 +01:00
Justin W Hall
dd591ed8d0
chore(docs): fix path Strava provider file ( #5853 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-27 14:04:17 +01:00
koolskateguy89
297bc2317f
chore(docs): fix spelling in docs ( #5867 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-11-27 13:44:35 +01:00
Tormod Flesjø
b170138e70
chore: update mongodb.md with typescript filetypes ( #5889 )
2022-11-27 13:11:54 +01:00
Jake Mulley
30b69a07eb
chore: fix import statement for next-auth/providers/email ( #5860 )
2022-11-21 12:07:09 +01: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
Balázs Orbán
b7ff987baf
docs: update unstable_getServerSession in RSC
2022-11-07 21:20:06 +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
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
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
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
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