Mark
1eddcf643c
feat(adapters): add Kysely adapter ( #5464 )
...
* feat: kysely-adapter with PostgreSQL and MySQL support
* feat: kysely-adapter with SQLite support
* docs: add docs for kysely-adapter
* chore: cleanup
* chore: update adapter lists
* chore: update column types
* chore: remove pgcrypto install
* chore: add indexes
* chore: Object.assign and cleanup
* feat: add AuthedKysely wrapper
* docs: add Naming Conventions section
* chore: add coerceReturnData to reduce repitition
* chore: add coerceInputData to reduce repitition
* chore: move AuthedKysely export to end
* chore: cleanup
* docs: remove unused import
* feat: add support for using AuthedKysely with generated types from kysely-codegen
* docs: formatting
* chore: CodeGen --> Codegen
* docs: wording update, ts
Co-authored-by: Julius Marminge <julius0216@outlook.com >
* chore: use latest kysely version, update model
* docs: move content to source code
* chore: update deps
* chore: update logo location, add link in overview
* chore: bump kysely version
Co-authored-by: Igal Klebanov <igalklebanov@gmail.com >
* chore: update docs
Co-authored-by: Igal Klebanov <igalklebanov@gmail.com >
* chore: update docs with links to new Kysely docs
Co-authored-by: Jie Peng <dean.leehom@gmail.com >
* feat: emailVerified shouldn't have a default
Co-authored-by: Lars Graubner <lgraubner@users.noreply.github.com >
* simplify, update code
* add README.md
* clean up docs
* fix adapter name
* add to turbo
* fix test
* revert some changes
* test fixes
---------
Co-authored-by: Julius Marminge <julius0216@outlook.com >
Co-authored-by: Igal Klebanov <igalklebanov@gmail.com >
Co-authored-by: Jie Peng <dean.leehom@gmail.com >
Co-authored-by: Lars Graubner <lgraubner@users.noreply.github.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-08-09 00:01:59 +01:00
Balázs Orbán
d47b56743e
feat(adapters): Drizzle adapter ( #8258 )
...
Co-authored-by: Anthony Shew <anthonyshew@gmail.com >
2023-08-08 19:34:17 +02:00
titanism
bbfc11e74c
docs: updated nodemailer email example ( #8210 )
2023-08-03 16:14:39 +02:00
Jabed
96d666465f
docs: fixed the typescript error in nextjs example ( #8224 )
2023-08-03 15:58:37 +02:00
hamzah syed
87ec13bd00
docs: Fixed broken link ( #8172 )
2023-07-31 11:23:10 +02:00
Steven Yung
c0f9af4c56
docs: fix GitHub star counter position ( #8143 )
2023-07-26 15:04:12 +02:00
Balázs Orbán
c7b36f45a3
docs: update nodemailer link
...
Fixes #8141
2023-07-26 14:57:22 +02:00
Serdar ŞEN
b845729cdb
docs: update getting started commands for docs ( #8040 )
...
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-07-22 12:53:03 +07:00
Thang Vu
0439fc5fc6
feat(providers): add request param to sendVerificationRequest ( #8071 )
...
Co-authored-by: Corey Jepperson <11298888+acoreyj@users.noreply.github.com >
2023-07-18 15:39:11 +02:00
Balázs Orbán
7fa51e2a61
docs: clarify preview deployment guide
2023-07-06 16:44:31 +02:00
Doron Sharon
a8dfc8ebb1
feat(providers): Add Descope provider ( #7874 )
...
* Add Descope provider
* Add Descope provider
* Remove dark logo, remove wellKnown, and fix user profile syntax
* Change to DESCOPE_SECRET
* Fix env comment
* Fix clientId extracting
* Change to client id
2023-06-26 18:18:58 +02:00
Balázs Orbán
87298a0150
feat: introduce @auth/mongodb-adapter ( #7790 )
...
Database adapters are not dependent on Next.js features, so it makes sense to republish them under the `@auth/*` scope.
This PR is part of a series to convert adapters, using `@auth/core` for types.
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/mongodb-adapter": "0.0.0",
+ "@auth/mongodb-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only
2023-06-13 13:41:12 +02:00
Koen Bolhuis
a0f3b04c43
docs: Fix typo in email tutorial ( #7769 )
2023-06-13 12:11:04 +01:00
Imamuzzaki Abu Salam
2318e44de4
docs(cypress): update file config to latest cypress c… ( #7733 )
...
docs(testing-with-cypress.md): update file config to latest cypress config filename
2023-06-05 17:33:37 +01:00
Balázs Orbán
0cb7fd2e7c
feat: introduce @auth/typeorm-adapter ( #7706 )
...
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/typeorm-legacy-adapter": "0.0.0",
+ "@auth/typeorm-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 17:52:11 +01: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
Graham Charles
f30308ac30
docs: fix info card rendering in oauth-tutorial.mdx ( #7662 )
...
Info box is not being rendered; the raw `:::info` is displayed. Blind guess: it needs a blank line before it.
2023-06-01 14:49:45 +02:00
Tashrik Anam
6eaaeb15e9
docs: adapter card text color on hover when on dark mode ( #7672 )
2023-06-01 14:49:45 +02:00
TATHAGATA ROY
60af446338
docs: Cypress.Cookies.defaults removed ( #7574 )
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
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
Balázs Orbán
6111662df7
docs: Update creating-a-database-adapter.md
2023-04-30 09:52:47 +02: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
ddffa57d00
docs: fix syntax error
2023-04-27 10:06:12 +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
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
Balázs Orbán
9018939ee7
docs: clean up databases intro page
...
#7221
2023-04-17 11:40:59 +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
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
Sai Srikar Dumpeti
1aa4994de6
docs: respect color scheme ( #7076 )
2023-03-28 04:06:21 +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
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
Balázs Orbán
ccbbc800d2
docs: rephrase buttons on landing page
2023-03-27 02:06:33 +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
Abdulaziz Askaraliev
6184b936f5
chore(docs): show close button on announcementBar ( #7074 )
...
* fix #6935 : show close button.
* fix(global-css): show close button on annoucement bar
dev and build were generating different results, adding `!important` fixed on build.
2023-03-26 21:48:36 +02:00
Balázs Orbán
1954258a0a
docs: make security page top-level
2023-03-26 03:46:51 +02:00
Jabed Zaman
c580f0db22
docs: fix session.user is possibly undefined. ( #7058 )
...
fixed the code snippet for the example to consume session via hooks. Threw an error earlier stating 'session.user' is possibly 'undefined'.
2023-03-25 20:15:38 +00:00
Balázs Orbán
d1cf701ed9
docs: change admonition titles
2023-03-24 12:46:02 +01:00
Balázs Orbán
69398e2d3a
docs: clarify guides overview
2023-03-24 12:43:56 +01:00
Balázs Orbán
856b5c50fc
docs: change section title
2023-03-24 12:43:40 +01:00
Balázs Orbán
2830b7de5b
docs: fix some typos
2023-03-24 12:43:23 +01:00
Balázs Orbán
40a0faa586
docs: remove outdated guides
2023-03-24 12:43:08 +01:00
Balázs Orbán
a6b4d958ac
docs: open basics guides by default
2023-03-24 12:42:52 +01:00
Balázs Orbán
cc13df9d51
docs: tweak announcement bar
2023-03-24 12:42:41 +01:00
Balázs Orbán
06b8d4772c
docs: simplify
2023-03-24 03:44:59 +01:00