Balázs Orbán
9a1bef9e72
chore: skip adapters in docs dev by default
2023-04-17 11:32:23 +02:00
Balázs Orbán
06b8d4772c
docs: simplify
2023-03-24 03:44:59 +01:00
Balázs Orbán
d644d1fcbf
docs: add sidebar to API reference
2023-03-24 03:43:15 +01:00
Lluis Agusti
1d9b9ba47c
docs(adapters): source content + overview ( #7023 )
...
* docs(adapters): source content + overview
* Apply suggestions from code review
* add adapter packages as docs dependencies
* clean up docusaurus config
* clean up database overview
* fix some links
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-21 18:26:52 +00:00
Balázs Orbán
8f6108f230
docs: fix Mermaid rendering, lock gatsby playground versions
2023-03-21 18:54:10 +01:00
Balázs Orbán
f0b475fc72
docs: move adapters sidebar around
2023-03-20 21:59:19 +01:00
Thang Vu
6f2cb460c9
feat: rewrite PouchDB Adapter ( #6745 )
...
BREAKING CHANGE:
Complete rewrite of the package. It is now published as ESM-only and written for `next-auth@4`. `next-auth@3` support is removed.
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-20 20:50:25 +00:00
Lluis Agusti
1c104afef9
docs(fauna): move content to source ( #6919 )
...
* docs(fauna): move content to source
* chore: fix spelling
* Apply suggestions from code review
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-16 01:50:21 +00:00
Balázs Orbán
0e2bbda537
docs: remove duplicate API reference
2023-03-10 10:51:17 +01:00
Lluis Agusti
b24b02fe71
docs(mongodb): move content to source ( #6901 )
...
* docs(mongodb): move content to source
* chore: document options
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-09 11:22:54 +00:00
Lluis Agusti
2c5c4d18c4
docs(typeorm): move content to source ( #6896 )
...
* docs(typeorm): move content to source
* chore: fix fn
* chore: document options
* Update index.ts
* chore: update logo
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-09 11:20:04 +00:00
Lluis Agusti
7462e797de
fix(adapter): improve Adapter docs, add runtime assertions ( #6877 )
...
* docs(adapters): move dgraph adapters docs to source code
* refactor: review suggestions (1)
* docs(prisma): move content to source code
* chore: sort
* fix: dgraph logo and content
2023-03-05 17:19:04 +01:00
Lluis Agusti
5cb8dd5f37
fix(docs): add docs to source code ( #6870 )
...
* docs(adapters): move dgraph adapters docs to source code
* refactor: review suggestions (1)
2023-03-05 15:57:02 +01:00
Balázs Orbán
2130765a57
docs: remove duplicate from sidebar
2023-02-19 17:13:06 +01:00
Wyatt Ades
4258857e52
feat(adapters): move to firebase-admin in Firebase Adapter ( #6225 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
fixes https://github.com/nextauthjs/next-auth/issues/5049
closes https://github.com/nextauthjs/next-auth/pull/6230
closes https://github.com/nextauthjs/next-auth/pull/5449
closes https://github.com/nextauthjs/next-auth/pull/5055
fixes https://github.com/nextauthjs/next-auth/issues/4927
BREAKING CHANGE:
The adapter now expects `firebase-admin` instead of the `firebase` package and also supports either passing a config object or a firestore instance.
2023-02-05 14:41:20 +01:00
Balázs Orbán
e9d8805609
docs: api reference restructure ( #6608 )
2023-02-04 15:39:12 +01:00
Nico Domino
e6a320bb0f
chore(docs): fix homepage logo, build, and lighthouse improvements ( #6238 )
...
* chore(docs): fix homepage logo size
* chore(docs): fix sidebars.js solid-start doc path name
* chore(docs): image file and size optimizations
* chore(docs): fix semantic misordered headings
* chore(docs): make banner link more descriptive
* chore(docs): add solid-start redirect
2022-12-31 21:28:59 +01:00
Balázs Orbán
f1475955ea
chore: solidstart -> solid-start
2022-12-31 11:53:29 +01:00
OrJDev
287c8f0f91
feat(solid-start): introduce @auth/solid-start package/example ( #6158 )
...
* feat: add solid framework package and example
* solidstart docs
* Update 02-oauth-tutorial.mdx
* minor docs fixes
* Fix sidebar typo
* Update sync.yml
* Update sidebars.js
* minor fixes
* fix deps
* upgrade auth example
* Update root.tsx
* Update NavBar.tsx
* Update Protected.tsx
* protected
* move example
* Update sidebars.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-12-31 10:15:31 +00:00
Balázs Orbán
39c78f27b5
fix(sveltekit): update to latest @auth/core, autogenerate API reference ( #6153 )
...
* docs(sveltekit): autogenerate API reference
* feat(sveltekit): update to use latest `@auth/core`
* chore: format
* chore: add auth packages as docs dependency
* chore: format
* chore: more formatting
* chore: don't run build before tests
2022-12-23 02:17:24 +00:00
Nico Domino
0ea9ada3a9
chore(docs): remaining authjs.dev and repo clean up ( #6097 )
2022-12-22 18:04:52 +01:00
Nico Domino
209c368a73
chore(docs): add adapters and providers subdomain redirect in vercel.json ( #6146 )
2022-12-22 17:40:22 +01:00
Balázs Orbán
6c45abf383
feat(core): improved logging / renames / new exports ( #6085 )
...
- Cleans up logging. Logs are now color-coded, added more debug logs, and errors can include some simple metadata (like provider id) to know which provider caused an issue.
- All errors are exposed via `@auth/core/errors`. Each error has a URL like: https://errors.authjs.dev#errorcode in the terminal, which points to the documentation explaining the problem in detail, suggesting a fix.
- Added a bunch of documentation that autogenerates the pages under https://authjs.dev/reference/core/modules/main
- Renames `AuthHandler` to `Auth` and `AuthOptions` to `AuthConfig`
- Throwing an error in `signIn` callback will now be caught as a general error and will redirect to `/error?error=Configuration`. If the callback returns `false`, it will redirect to `/error?error=AccessDenied`.
2022-12-22 02:36:54 +00:00
Balázs Orbán
ea23a93442
refactor(core): move jwt to a single file
2022-12-21 01:39:35 +01:00
Balázs Orbán
f7275c7527
chore: type updates
...
fix import
chore: more docs update
2022-12-19 04:03:03 +01:00
Balázs Orbán
e699ff14b8
docs: /reference sidebar improvements ( #6115 )
...
* wip
* 🤖 lazy commit
* 🤖 lazy commit
* revert some changes, remove prettier jsdoc plugin for now
* sidebar tweaks
* add adapter module docs
* remove provider docs
* embed all reflections under modules
Based on: https://github.com/TypeStrong/typedoc/issues/2006
Related: https://github.com/tgreyuk/typedoc-plugin-markdown/issues/338
* no trailing slash, update theme
* updates
* update snapshot
* update sidebar and overview
2022-12-19 01:00:06 +00:00
Nico Domino
b7f1e3e7f8
docs: move to Auth.js ( #6024 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Lluis Agusti <hi@llu.lu >
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-12-14 18:33:49 +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
Nico Domino
70d59bb6e7
chore(docs): fix formatting / syntax ( #4523 )
2022-05-07 12:19:42 +02:00
Nico Domino
714579e8d6
chore: update docs dependencies ( #4522 )
2022-05-07 00:01:02 +02:00
Nico Domino
ef22c5b835
chore(docs): add carbon ads to docs sidebar ( #4250 )
...
* chore(docs): add carbon ads to docs page
* fix: add carbon-wrap element
* fix: script in docusaurus config object
* fix: add _carbonads_js id
* fix: add script directly to sidebar
* fix: carbon ads style
* chore: bump ad container down a bit
2022-03-25 19:24:05 +01:00
Nico Domino
47b4765941
docs: 1st party guides section ( #4167 )
...
* chore: simplify example-gatsby readme header
* chore(docs): move 1st party guides to own section
2022-03-16 00:01:29 +01:00
Balázs Orbán
cbf9622e6f
chore: move docs to top-level ( #3887 )
...
* chore: move docs to top-level
* chore: add docs back to workspaces
2022-02-09 00:42:11 +01:00
Iain Collins
6e3a6ba287
Update docs and website dir structure
...
* Now has 'www' directory at root level for the website (was 'docs').
* The 'docs' directory now only contains Markdown docs.
* Docusarus config looks in '../docs' for the docs.
This is deployed with now.sh to https://next-auth-docs.now.sh
2020-05-17 20:13:54 +01:00
ndo@ndo3
d7a2cde57e
update: sidebar labels
2020-05-17 17:45:00 +01:00
ndo@ndo3
d25493ae79
add: docusaurus docs
2020-05-17 17:45:00 +01:00