GitHub Actions
3b414bd7b5
chore(release): bump package version(s) [skip ci]
2023-06-01 14:19:07 +00:00
Balázs Orbán
37bb6ebd2c
fix(docs): update code example
2023-06-01 16:08:21 +02:00
Balázs Orbán
2ecf52c342
feat: introduce @auth/prisma-adapter ( #7703 )
...
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/prisma-adapter": "0.0.0",
+ "@auth/prisma-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only.
2023-06-01 16:06:22 +02:00
GitHub Actions
39e1a76e8f
chore(release): bump package version(s) [skip ci]
2023-06-01 12:59:53 +00:00
Doron Sharon
c69a157832
chore: Add Descope as a 🥉 bronze financial sponsor ( #7615 )
...
Add Descope as a bronze sponsor
2023-06-01 14:49:45 +02:00
Balázs Orbán
142abe3eea
feat: allow empty account mapper
2023-06-01 14:49:45 +02:00
Balázs Orbán
da211e6cbe
chore: revert picture to image
2023-06-01 14:49:45 +02:00
Balázs Orbán
79ad6156ed
feat: add update session to core ( #7505 )
...
* feat: add update session to core
Integrates #7056 into `@auth/core`
* resolve default user after jwt callback
2023-06-01 14:49:45 +02:00
Balázs Orbán
208b3b4a43
chore: reduce breaking changes on Account mapping
...
Reverts some changes on #7369 so DB migration won't be needed
2023-06-01 14:49:45 +02:00
Balázs Orbán
0998fc0b98
chore: use @ts-ignore
2023-06-01 14:49:45 +02:00
Balázs Orbán
bd20d750c2
fix(docs): remove extra heading
...
Fixes #7426
2023-06-01 14:49:45 +02:00
Balázs Orbán
8e29b4df0c
fix: allow handling OAuth callback error response
...
related #7407
2023-06-01 14:49:45 +02:00
Balázs Orbán
9632a56d45
chore: type fixes
2023-06-01 14:49:45 +02:00
Balázs Orbán
12161b9613
fix: loosen profile types
2023-06-01 14:49:45 +02:00
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
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]
2023-04-28 15:09:12 +00: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
peterhirn
807d5d7920
fix(ts): support moduleResolution node16 and nodenext ( #7351 ) ( #7374 )
2023-04-27 10:03:25 +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
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]
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]
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
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]
2023-04-18 17:45:29 +00:00
Balázs Orbán
6f9ca4143d
fix: detect origin when instanceof Request check fails ( #7303 )
2023-04-18 17:46:49 +01: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
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
jakzo
75a59fbd92
chore(docs): fix dynamodb typo ( #7130 )
...
fix: typo
2023-04-06 12:57:09 +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
Alan Hoskins
88023f69b9
fix(docs): remove extra install ( #7081 )
2023-03-27 15:47:32 +02:00
Alan Hoskins
b02057a72d
fix(docs): fix broken links links ( #7083 )
...
Co-authored-by: Alan Hoskins <ahoskins@knowland.com >
2023-03-27 15:46:43 +02:00
Balázs Orbán
400da8c766
fix(providers): mention Email Address as required for Azure B2C
...
closes #7071
2023-03-27 15:44:23 +02:00
Andres Rodriguez
b48104801b
chore(provider): added svg for Reddit ( #7050 )
...
Added svg for Reddit
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-03-27 09:36:47 +02:00
Abdulaziz Askaraliev
d7888263ca
fix(providers): update Yandex to TypeScript ( #7054 )
...
* fix(providers): yandex add typescript.
* fix(providers): yandex add avatar to scope
* fix(providers): Yandex - add types & avatar scope
* fix(providers): Yandex - permissions list
* Apply suggestions from code review
* Apply suggestions from code review
* docs(provider): added comments for
* revert yandex.ts from next-auth/providers/
* fix(providers): yandex fix typo
* revert
* Update [...nextauth].ts
* Update yandex.ts
* Update yandex.ts
* Update [...nextauth].ts
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-27 00:38:06 +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
09402bf2fc
fix: correct logo link
2023-03-20 22:45:14 +01:00