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
Balázs Orbán
d644d1fcbf
docs: add sidebar to API reference
2023-03-24 03:43:15 +01:00
Balázs Orbán
380f2de961
docs: add API reference overview
2023-03-24 03:29:29 +01:00
Nikhil Dev Chunchu
dc5f3e1873
chore(docs): update using-a-database-adapter.md ( #7028 )
...
Update using-a-database-adapter.md
2023-03-22 09:30:56 +01:00
Balázs Orbán
93f3fcd1b7
chore: update TypeDoc
2023-03-21 19:38:50 +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
8f6108f230
docs: fix Mermaid rendering, lock gatsby playground versions
2023-03-21 18:54:10 +01:00
Balázs Orbán
15943d6696
docs: fix indent
2023-03-21 01:02:20 +01:00
Balázs Orbán
81589bf738
docs: remove/rename files/directories
2023-03-21 00:49:39 +01:00
Balázs Orbán
90eeeeab2f
docs: unify adapters ( #7013 )
...
* remove unmaintained changelogs
* move logos to docs
* unify readmes
* fix logo urls
2023-03-20 21:28:23 +00:00
Balázs Orbán
f0b475fc72
docs: move adapters sidebar around
2023-03-20 21:59:19 +01:00
Thang Vu
6f2cb460c9
feat: rewrite PouchDB Adapter ( #6745 )
...
BREAKING CHANGE:
Complete rewrite of the package. It is now published as ESM-only and written for `next-auth@4`. `next-auth@3` support is removed.
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-20 20:50:25 +00:00