Balázs Orbán
a3b5276a5a
chore: improve errors, add more docs ( #7415 )
...
* JWT Token -> JWT
* document some errors
* improve errors, docs
2023-06-01 14:49:45 +02:00
Balázs Orbán
7c1078b9a9
feat(adapters): add Account mapping before database write ( #7369 )
...
* feat: map Account before saving to database
* document `acconut()`, explain default behaviour
* generate `expires_at` based on `expires_in`
Fixes #6538
* rename
* strip undefined on `defaultProfile`
* don't forward defaults to account callback
* improve internal namings, types, docs
2023-06-01 14:49:45 +02:00
Victor
37d3461155
docs: fix default maxAge formula ( #7406 )
2023-06-01 14:49:40 +02:00
Balázs Orbán
6111662df7
docs: Update creating-a-database-adapter.md
2023-04-30 09:52:47 +02:00
Zack Reneau-Wedeen
5da6549c48
chore(docs): update xata docs link ( #7397 )
...
Update link to a working page (Workspaces API reference)
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-04-28 22:26:30 +02:00
GitHub Actions
1ca87809d6
chore(release): bump package version(s) [skip ci]
@auth/core@0.7.1
@next-auth/neo4j-adapter@1.0.6
2023-04-28 15:09:12 +00:00
Balázs Orbán
7f6967fc3c
chore: update lock file
2023-04-28 16:55:31 +02:00
Dawid Weltrowski-Knopik
2313ef63e0
fix(adapters): allow neo4j-driver@5 as a peer dependency ( #7392 )
...
* upgrade neo4j-driver
* Correcting depdendency to also allow for ^4.0.0 and pnpm install
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-04-28 15:54:48 +01:00
Balázs Orbán
523fcbab71
fix(docs): document Callback URL for every provider
2023-04-28 16:52:10 +02:00
Balázs Orbán
83d8b447db
chore: clean up Next.js example
2023-04-28 09:50:44 +02:00
Balázs Orbán
ddffa57d00
docs: fix syntax error
2023-04-27 10:06:12 +01:00
peterhirn
807d5d7920
fix(ts): support moduleResolution node16 and nodenext ( #7351 ) ( #7374 )
2023-04-27 10:03:25 +01:00
RubenSmn
0f0dd9228a
docs: fix code snippet being smushed on mobile ( #7197 )
2023-04-26 13:06:11 +01:00
Jack Oats
b087fdb817
docs: resize icons on screen size change ( #7309 )
...
* Update size of icons on load && on resize event
Added 'use client' since window object would only be defined on client side ( and using hooks );
Thought it'd be a cool feature to add :)
* Apply suggestions from code review
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-04-26 13:00:15 +01:00
Lluis Agusti
443bfd6c32
fix(docs): move provider docs to source code ( #7275 )
...
* chore: wip
* chore: wip
* zoom, zoho, ZITADEL
* add logos for Zoom, zoho, zitadel
* add the rest of the providers
* add logos
* revert typo
* move icons to docs
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-04-24 09:21:24 +01:00
Balázs Orbán
7c44d916ed
chore: fix Next.js example sync
2023-04-23 08:14:52 +01:00
John Abdou
b489fef2e2
docs: fix link ( #7334 )
...
* Fixed broken link to auth.js core documentation
* Update README.md
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-04-23 09:22:14 +03:00
Balázs Orbán
98add24526
chore: bump react types
2023-04-21 12:25:48 +02:00
GitHub Actions
0ddd47cc0a
chore(release): bump package version(s) [skip ci]
@auth/core@0.7.0
2023-04-20 09:38:01 +00:00
Balázs Orbán
0100888d9b
fix: consume nonce exactly once ( #7327 )
...
* fix: consume nonce exactly once
* tweak state handling
2023-04-20 10:25:41 +01:00
Balázs Orbán
9eeea02fe2
feat: redirect proxy ( #7326 )
...
* types
* add `redirectProxy` option
* ignore if no state
* empty commit
* tweak proxy detection
* add origin proxy check to checks
* run randomstate decode
* don't generate state data when no proxy
* ignore next-2
* update dev app
* clarify `UnknownAction` error
* rename to `AUTH_REDIRECT_PROXY_URL`
* simplify state
* clear todos
* cleanup
* clarify comment
* use `InalidChecks` error
* simplify
* clarify errors
* add debug logger to redirect proxy
* add proxy redirect logger
* don't throw error when no origin on proxy
* fix redirect_uri in callback
* add docs/guide
* sort imports
* docs: rephrase
2023-04-20 09:53:44 +01:00
GitHub Actions
0a57fea430
chore(release): bump package version(s) [skip ci]
@auth/core@0.6.1
@next-auth/mongodb-adapter@1.1.3
2023-04-20 08:41:41 +00:00
Tim Schneider
51750e1a06
fix(adapters): correct peer dependency ( #7310 )
...
Typo in package.json
Missing | in package.json causing ETARGET and peer dependency errors
2023-04-20 09:23:30 +01:00
Balázs Orbán
039a14d992
fix: clarify unknown action error
2023-04-19 10:40:51 +02:00
Balázs Orbán
da821d2789
chore: cleanup todos, format
2023-04-19 10:40:42 +02:00
Balázs Orbán
be5c42e350
Merge branch 'main' of github.com:nextauthjs/next-auth
2023-04-19 10:36:50 +02:00
Balázs Orbán
b68f461f8b
chore: upgrade next
2023-04-19 10:35:34 +02:00
Nick Parsons
95c5ba0b5d
docs: Update Clerk sponsorship URL ( #7305 )
...
- Change Clerk URL from `https://clerk.dev ` to `https://clerk.com `
- Fix alt from copy/paste
2023-04-18 20:13:19 +01:00
GitHub Actions
25388de027
chore(release): bump package version(s) [skip ci]
@next-auth/sequelize-adapter@1.0.8
@auth/sveltekit@0.3.1
@next-auth/dynamodb-adapter@3.0.2
@next-auth/typeorm-legacy-adapter@2.0.2
@next-auth/pouchdb-adapter@1.0.0
next-auth@4.22.1
@next-auth/prisma-adapter@1.0.6
@auth/core@0.6.0
@next-auth/dgraph-adapter@1.0.6
@next-auth/mongodb-adapter@1.1.2
2023-04-18 17:45:29 +00:00
Balázs Orbán
ad77e1c2b7
chore: trigger CI
2023-04-18 19:31:51 +02:00
Balázs Orbán
cd654c3001
chore: trigger CI
2023-04-18 19:09:53 +02:00
Balázs Orbán
6f9ca4143d
fix: detect origin when instanceof Request check fails ( #7303 )
2023-04-18 17:46:49 +01:00
Balázs Orbán
e97b27414a
Merge branch 'main' of github.com:nextauthjs/next-auth
2023-04-17 11:41:02 +02:00
Balázs Orbán
9018939ee7
docs: clean up databases intro page
...
#7221
2023-04-17 11:40:59 +02:00
Raul
c2fc41b44d
chore: fix "Contributing guide" link ( #7279 )
2023-04-17 10:36:23 +01:00
Chris Hayes
01d7eb4feb
docs: Remove --save from install command ( #7277 )
...
Remove --save from install command
--save is no longer needed on npm install.
2023-04-17 10:35:48 +01:00
Balázs Orbán
2388c20cc6
Merge branch 'main' of github.com:nextauthjs/next-auth
2023-04-17 11:32:26 +02:00
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
35a72d2273
chore: update typedoc dependencies
2023-04-17 11:32:09 +02:00
Abdulaziz Askaraliev
5f1b75a7a2
fix(providers): fix type definition and docs for yandex ( #7170 )
...
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-04-16 14:47:06 +07:00
Thang Vu
fa58065951
chore: move next-auth from v4 to main ( #7265 )
2023-04-15 17:02:46 +01:00
Balázs Orbán
b31f2af66c
feat: misc improvements ( #7228 )
...
* tweak types, fix typos
* filter non-oauth files when generating provider types
* allow implicit config invoke
* remove workaround for multiple cookie settings in Next.js
* feat: return `null` when session does not exist
* error on missing checks when configured
2023-04-12 11:40:55 +01:00
Prana Adiwira
71bb6f2590
fix(providers): Use the proper check for Reddit ( #7224 )
...
Reddit expects the `state` parameter
https://github.com/reddit-archive/reddit/wiki/OAuth2#authorization
2023-04-12 11:37:31 +01:00
Balázs Orbán
6c07331cc5
chore: upgrade turbo
2023-04-06 12:58:10 +02:00
Saurav Maheshkar
c8ef94b2be
chore: move prettier and eslint configs under package.json ( #7145 )
2023-04-06 12:57:16 +02:00
jakzo
75a59fbd92
chore(docs): fix dynamodb typo ( #7130 )
...
fix: typo
2023-04-06 12:57:09 +02:00
Balázs Orbán
3dd47b0735
docs(example): remove unstable_ prefix
2023-03-31 05:01:58 +02:00
Balázs Orbán
4dc1d421f8
docs: mention client in OAuth config options
...
Related issue #7114
2023-03-30 18:34:30 +02:00
Balázs Orbán
99ca67f1cf
docs: fix typo
2023-03-28 13:59:08 +02:00
Balázs Orbán
a087df8494
docs: fix some links
2023-03-28 13:47:53 +02:00