Balázs Orbán
9af588774a
feat: tweak sign-in page design ( #6774 )
...
* feat: simplify sign-in page
* redid styling, add brandName & providersLayout
* edit some styling
* remove default value
* tweak
* tweak
* tweak logos
* Update signin.tsx
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-10-16 07:57:49 +07:00
arjunyel
2211693040
feat(adapters): add Hasura adapter ( #5707 )
...
* feat(adapters): add Hasura adapter
* chore: formatting
* chore: formatting
* chore: formatting
* chore: formatting
* Merge branch 'main' into hasura-adapter
* feat(adapter): add Hasura adapter
* chore: update Hasura adapter readme
* chore(docs): add Hasura
* feat(adapter): move Hasura codegen to script
* feat(adapter): remove docker from Hasura build
* chore: resolve conflict
* fix test
* fix test
---------
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-10-07 08:47:48 +07:00
Balázs Orbán
99328272d4
docs: add sponsor ( #8571 )
...
* add deps
* add components
* style changes
* tweak style
* Styling adjustments for sponsor ad (#8725 )
* Configure darkmode
* Styling tweaks
* update readme and sidebar
* add readme images
* use relative url
* add sponsored by
* tweak readme
* swap colors on sidebar
* fix rings
* change to png
* swap
---------
Co-authored-by: Austin Calvelage <austin.calvelage@icloud.com >
2023-10-05 16:27:21 +01:00
Thang Vu
b729f8af0b
feat(adapters): azure tables adapter ( #8708 )
...
* feat(adapter): Add Azure Table Storage DB adapter
* add newlines
* remove sessionByUserId together with the session
* include import in the readme file
* add types to response objects
* introduce contracts for the db entities
* Rename the lib in docs
Co-authored-by: Nico Domino <yo@ndo.dev >
* run prettier
* feat: azure tables adapter
---------
Co-authored-by: Nikita Dmitriev <nikitadmitry@gmail.com >
Co-authored-by: Nikita Dmitriev <106996965+nikitaclicks@users.noreply.github.com >
Co-authored-by: Nico Domino <yo@ndo.dev >
2023-09-24 17:50:05 +07:00
Martin Schaer
bec01a82ea
feat(adapters): add SurrealDB adapter ( #6251 )
...
* feat(adapter-surrealdb): implemented with unit tests
* chore: update README
* Use stateless DB connection
* Update surrealdb-rest-ts
* chore: bump turbo and pnpm
* chore(docs): fix dynamodb typo (#7130 )
fix: typo
* chore: bump pnpm
* chore: update lock file, bump dev dependencies
* chore: run `pnpm install --fix-lockfile`
* chore: re-run pnpm install
* chore: add missing dev dep
* revert lock
* update lock
* use surrealdb.js
* add rest test
* remove commented-out code
* update readme
* modularize repeated code
* fix(docs): fix default `maxAge` formula (#7406 )
* 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
* chore: improve errors, add more docs (#7415 )
* JWT Token -> JWT
* document some errors
* improve errors, docs
* fix: loosen profile types
* chore: type fixes
* fix: allow handling OAuth callback error response
related #7407
* fix(docs): remove extra heading
Fixes #7426
* chore: use `@ts-ignore`
* chore: support release any package as experimental
* chore: separate manual release job
* chore: skip test for manual release
* chore: tweak
* chore: tweaks
* chore: tweak manual release version
* Use query instead of select to be able to use query params
* Fix lint errors
* Update surrealdb.js and remove surrealdb-rest-ts in favor of ExperimentalSurrealHTTP
* update pnpm-lock
* fix merge
* fix merge
* fix merge
* migrate surrealdb.js api
* fix queries
* update package.json
* fix types
* prepare for rest
* update readme
* chore: format PR
* Update README.md
* Update package.json
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: jakzo <jack@jf.id.au >
Co-authored-by: Victor <saptefrativictor@gmail.com >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-23 21:14:40 +07:00
Thang Vu
6780ed7fee
feat: add pg adapter ( #8679 )
...
* Add vanilla Postgres adapter for NextAuth using the pg package.
All tests are passing.
* Fix typo in readme
* Add basic tsconfig
* Replace this.getUser with functio body as this is undef
* Change name from @next-auth/postgres-adapter to @next-auth/pg-adapter
* Fix package folder to be same as name
* Add package to issue template, labeller and PR labeller
* Commit pnpm lock change.
* Set next-auth version to ^4
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Return user id when updating user. Fixes #4897 .
* chore: format PR
* chore: format PR
* chore: formatting
* fix: tests
* fix
---------
Co-authored-by: Jake Coppinger <jake@jakecoppinger.com >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-09-22 14:49:01 +07:00
Josh Schlesser
770d3565f8
feat(adapter): add new Cloudflare D1 Adapter ( #6953 )
...
* cleaned everything up
* Added documentation
* fixed up d1 logo in docs
* cleaning out unused file
* changed to esm module
* formatting the PR
* update the deps
* update the deps
* ignore test
* ignore test
* fix deps
* add contributor
---------
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-16 18:17:02 +07:00
Bruno Crosier
67dbbb2cdf
feat(adapters): new EdgeDB Adapter ( #5781 )
...
* init adapter folder
* add schema
* run migration
* run `npx @edgedb/generate edgeql-js`
* fix `generate` script
* add `EdgeDBAdapter`
* add tests
* add README
* docs
* dev app
* lockfile
* remove generated files
* ignore `dbschema/edgeql-js`
* add `postinstall` generate script
* update docs
* move `nonrecursive_access_policies` to default schema
* newlines
* remove js generation
* rewrite in edgeql
* make `userId` computed
* fix `createUser` image param
* code review comments
* update lockfile
* code review
* comments
* delete
* types
* revert settings.json
* delete migrations
* deps
* clean up
* Restore packages/adapter-test/index.ts
* chore: formatting & fix logic of useVerificationToken
* chore: delete .md file
* fix: test
* chore: logo
* chore: formatting
* chore: add edgedb to doc
---------
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-16 11:03:48 +07:00
Dewin Umana
f87e66f0b3
feat(providers): TikTok provider ( #8131 )
...
* feat(providers): TikTok provider
* Linting
* Move files under the correct paths
* Added Tiktok Provider
* Update Bug provider template
2023-09-15 12:14:44 +07:00
Thang Vu
b9e9722b74
feat(providers): Dribbble provider ( #8531 )
...
* feat(providers): add Dribbble provider
* update Dribbble
Co-Authored-By: Pavel Fomchenkov <hello@pavel.codes >
---------
Co-authored-by: Pavel Fomchenkov <hello@pavel.codes >
2023-09-09 14:07:24 +07:00
Thang Vu
fb7c5f9ef6
feat: Mastodon Provider ( #8516 )
...
Co-authored-by: Leif Arriens <30775450+leifarriens@users.noreply.github.com >
2023-09-07 22:18:11 +07:00
Antonio Basile
f3c64a85c9
feat(providers): Click up provider ( #8489 )
...
* feat: click up provider created
* docs: ClickUp documentation
* Format
---------
Co-authored-by: Antonio Basile <antoniobasile2@eng.it >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-09-05 22:13:56 +07:00
Balázs Orbán
b2e5b9f6a8
feat(providers): add Passage by 1Password ( #8295 )
2023-08-11 12:23:27 +01:00
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
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
523fcbab71
fix(docs): document Callback URL for every provider
2023-04-28 16:52:10 +02: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
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
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
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
Will
99ac4899b5
feat(providers): add Beyond Identity Provider ( #6013 )
...
* Add Beyond Identity Provider
* Add Beyond Identity OIDC Provider
* Add Beyond Identity OIDC Provider
* Add "pkce" support
* Mirror Auth0 instead of Okta
* Code Review feedback
2023-02-23 11:04:21 +07:00
Thang Vu
a5e0db4bb3
feat(providers): add Notion provider ( #6567 )
...
* add notion provider along with logo and styles
"
* adjust notion documentation
* update issue template with Notion provider
* update docs and provider with code from TomYeoman
* feat: move Notion provider to core
* get it working
---------
Co-authored-by: Harrison Broadbent <harrisonbroadbent@gmail.com >
Co-authored-by: Harrison Broadbent <harrisonbroadbent@Harrisons-MacBook-Air.local >
Co-authored-by: Thang Vu <hi@thvu.dev >
2023-01-31 17:10:47 +07:00
Thang Vu
b4d6ed5f5f
feat(providers): add Asgardeo provider ( #6452 )
...
* implement asgardeo auth provider
* Import asgardeo provider in to providers
* Improve provider configuration
* simplify and improve the asgardeo provider
* Delete package-lock.json
* converted server origin to organization
* revamp provider configs
* update profile interface
* Remove asgardeo issuer parameter and add docs
* fixed docs
* Update asgardeo.md
* Update docs and provider branding
* Remove mistakenly added code from dev app
* move to core
* Delete asgardeo.md
Co-authored-by: Yathindra <yathindrarawya123@gmail.com >
Co-authored-by: Yathindra Kodithuwakku <32919513+yathindrakodithuwakku@users.noreply.github.com >
Co-authored-by: Yathindra Kodithuwakku <32919513+yathindrak@users.noreply.github.com >
2023-01-22 01:30:42 +07:00
Balázs Orbán
dd9f1b7421
chore: move provider logos under /img
2023-01-07 08:12:24 +01:00
Balázs Orbán
c1f3cbda3c
chore: move icons to website
2023-01-07 08:02:27 +01:00
Balázs Orbán
9238294192
feat(core): Redesigned all default pages ( #5825 )
...
* feat(pages): Redesigned all default pages according to sketches discussed.
* chore(signin): Remove console.log
* fix(css): Makes cards scale down to 320px and have a fixed width on larger screens
* fix(styling): Adds margins on bottom and top of card.
* chore(docs): Change the documentation according to changes. Uploaded new images that reflect the new pages.
* fix(next-auth/core): Fixes correct styling of provider button across browsers.
* chore(docs): Add doc string to beta docs aswell
* feat: move changes to core
* revert change in next-auth
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Thang Vu <hi@thvu.dev >
revert signin
2023-01-07 07:49:56 +01:00
Nico Domino
e6a320bb0f
chore(docs): fix homepage logo, build, and lighthouse improvements ( #6238 )
...
* chore(docs): fix homepage logo size
* chore(docs): fix sidebars.js solid-start doc path name
* chore(docs): image file and size optimizations
* chore(docs): fix semantic misordered headings
* chore(docs): make banner link more descriptive
* chore(docs): add solid-start redirect
2022-12-31 21:28:59 +01:00
Nico Domino
52c5b7cad3
chore(docs): update auth.js og-image ( #6145 )
2022-12-22 17:36:28 +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
19804661d2
chore(docs): fix social media card copy ( #6054 )
2022-12-14 19:16:16 +01:00
Balázs Orbán
906b7930e8
chore(docs): fix linting
2022-02-21 01:50:12 +01:00
Nico Domino
846a0a0f9d
docs: move database model to mermaid ( #3839 )
...
* chore: move database model to mermaid
* chore: update model details
* chore: update docusaurus dependencies
* chore: add model notes
* chore(docs): fix broken links
* Apply suggestions from code review
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-02-16 00:12:27 +01:00
Balázs Orbán
cbf9622e6f
chore: move docs to top-level ( #3887 )
...
* chore: move docs to top-level
* chore: add docs back to workspaces
2022-02-09 00:42:11 +01:00
Iain Collins
6e3a6ba287
Update docs and website dir structure
...
* Now has 'www' directory at root level for the website (was 'docs').
* The 'docs' directory now only contains Markdown docs.
* Docusarus config looks in '../docs' for the docs.
This is deployed with now.sh to https://next-auth-docs.now.sh
2020-05-17 20:13:54 +01:00
ndo@ndo3
d25493ae79
add: docusaurus docs
2020-05-17 17:45:00 +01:00