Balázs Orbán
ac304f17da
docs: fix link to sveltekit
2022-12-23 03:58:35 +01: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
Jordan Calhoun
54561a1231
docs: Typo correction ( #6151 )
...
PROT -> PORT
2022-12-22 22:42:56 +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
Nico Domino
52c5b7cad3
chore(docs): update auth.js og-image ( #6145 )
2022-12-22 17:36:28 +01:00
Balázs Orbán
bb372cc5cc
docs: main page improvements
2022-12-22 04:05:22 +01:00
Unieveth
c6ca01a99e
docs: fix closing tag on oauth-tutorial ( #6134 )
...
Fixed wrong closing tag on oauth-tutorial
Changed closing tag on pages/overview.tsx from `</img>` to `</>
2022-12-22 02:37:36 +00: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
ndom91
1d67ad41cc
chore(docs): add cleanUrls: true
2022-12-19 20:29:08 +01:00
Yahav
7c50b3da98
chore(docs): fix typo in 02-oauth-tutorial.mdx ( #6093 )
2022-12-19 20:24:55 +01:00
Balázs Orbán
1b2c373fa1
docs: capitalize
2022-12-19 13:39:23 +00: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
Balázs Orbán
cba81f0b8c
chore: add snippets
2022-12-18 14:12:56 +01:00
Balázs Orbán
1b671ae83d
docs: format landing page
2022-12-18 02:19:07 +00:00
Nico Domino
4935166372
chore(docs): add provider-issue and github-discussions redirects ( #6110 )
2022-12-18 01:44:37 +00:00
Balázs Orbán
8b5644453b
docs: set up API reference generation
2022-12-17 14:26:14 +01:00
Balázs Orbán
84291d3e81
chore: fix formatting and linting
2022-12-16 15:57:55 +01:00
Nico Domino
67e5c236f6
chore(docs): wildcard path matching ( #6092 )
2022-12-16 14:22:51 +01:00
Nico Domino
8972defa4b
chore(vercel): add errors and warnings subdomain redirects ( #6091 )
2022-12-16 14:10:39 +01:00
Aleš Vaupotič
85667dd681
docs(sveltekit): add note about deploying to providers other than vercel ( #6075 )
...
* Directions to deploy outside Vercel
An additional ENV variable is needed when deploying with another service.
* Updated as suggested, AUTH_TRUST_HOST is a boolean
Add AUTH_TRUST_HOST for deploy outside Vercel
2022-12-16 05:06:26 +01:00
Lluis Agusti
d9532745eb
docs: update names to Auth.js ( #6077 )
2022-12-16 05:03:31 +01:00
meesvandongen
70a3e3f662
chore(docs): Fix nextjs.md code block ( #6037 )
...
chore: fix quotes
2022-12-16 01:00:22 +01:00
Nico Domino
45a18930c8
chore: try redirect instead of rewrite ( #6063 )
2022-12-15 00:34:24 +01:00
Arnaud Zheng
6f22a49c7d
chore: removing console log ( #6061 )
2022-12-15 00:24:15 +01:00
Nico Domino
fea30069c9
chore: try redirect instead of rewrite ( #6062 )
2022-12-15 00:14:42 +01:00
Nico Domino
cd01707530
chore: try redirect instead of rewrite ( #6060 )
2022-12-14 23:56:49 +01:00
Lluis Agusti
d9a2df3a3d
chore(docs): fix broken links ( #6053 )
2022-12-14 21:49:15 +01:00
Nico Domino
f4a1ed1eb7
chore(docs): add note regarding AUTH_SECRET to SvelteKit docs ( #6058 )
2022-12-14 21:30:54 +01:00
Nico Domino
a97737cc18
fix: rename social-media-card.png for cache busting ( #6057 )
2022-12-14 20:43:17 +01:00
Nico Domino
b44d1a005e
fix: update docusaurus config url to authjs.dev ( #6056 )
2022-12-14 20:34:41 +01:00
Nico Domino
2c077e1491
chore(docs): add flex-wrap to docs home button wrapper ( #6055 )
2022-12-14 20:28:05 +01:00
Nico Domino
19804661d2
chore(docs): fix social media card copy ( #6054 )
2022-12-14 19:16:16 +01: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
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