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