Yuri Gor
d02c41568c
chore(deps): upgrade typeorm to v0.2.30 ( #1145 )
2021-01-18 19:27:09 +01:00
t.kuriyama
d5206874df
feat: add native hkdf ( #1124 )
...
* feat: add native hkdf
* feat: import only needed to do hkdf
* feat: tweak digest and arguments
v3.2.0-canary.24
2021-01-17 22:23:39 +01:00
Balázs Orbán
2f88880ee3
chore: fix lint issues [skip release]
2021-01-14 01:32:53 +01:00
suraj10k
b1f6901c52
chore: Comply to Vercel Open Source sponsorship [skip release] ( #1087 )
...
* added banner
* Changed banner image allignment
* changed location of banner again
* added to acknowledgement
* added to acknowledgement 1
* changed image size
* k
* l
* s
* s
* .
* added link to the banner in readme.md
* fixed image redirect
* fixed image allignment
* made changes in readme and index.js
* Changed the source of the banner image
* added banner to the footer of the site
2021-01-13 19:28:56 +01:00
Balázs Orbán
1a1a1f9721
chore: define providers in single file for docs [skip release]
2021-01-12 20:55:48 +01:00
Aymeric
ecbaa14e30
feat(provider): finish Reddit provider and add documentation ( #1094 )
...
* Create reddit.md
* uncommented profile callback
* Update reddit.md
* fix lint issues
* added reddit provider
* added reddit provider
* Add Reddit Provider
For some reason a bunch of providers got deleted in the last commit
* Add Reddit Provider
* Add Reddit Provider
v3.2.0-canary.23
2021-01-12 20:39:50 +01:00
Balázs Orbán
0c40529535
style: make p system theme aware [skip release]
2021-01-12 19:01:21 +01:00
Balázs Orbán
72b6050076
fix: export getSession [skip release]
...
somehow the default export does not work in the dev app
2021-01-12 17:04:37 +01:00
Balázs Orbán
47621b56b2
refactor: show signin page in dev app [skip release]
2021-01-12 17:03:13 +01:00
Balázs Orbán
54a28b5f1b
refactor: be explicit about path in jsonconfig [skip release]
2021-01-12 17:02:52 +01:00
Ben
ad791ea45c
feat(provider): add LINE provider ( #1091 )
v3.2.0-canary.22
2021-01-12 13:30:08 +01:00
Balázs Orbán
1838e43b27
feat(pages): add dark theme support ( #1088 )
...
* feat(pages): add dark theme support
* docs: document theme option
* chore: remove ts-check from dev app
* style(pages): fix some text colors in dark mode
v3.2.0-canary.21
2021-01-11 21:56:48 +01:00
Balázs Orbán
354d6c35c3
docs: update some urls in the docs [skip release]
2021-01-11 20:45:53 +01:00
Balázs Orbán
2e4832caf8
chore: update caiuse-lite db
2021-01-11 20:06:42 +01:00
Balázs Orbán
f05644dafa
docs: improve FAQ docs [skip release]
2021-01-11 20:06:31 +01:00
Balázs Orbán
e7e8e0f393
docs: clarify .env usage in CONTRIBUTING.md [skip release] ( #1085 )
2021-01-11 12:57:12 +01:00
Alex B
416d92c33f
feat: replace blur/focus event to visibility API for getSession ( #1081 )
v3.2.0-canary.20
2021-01-10 23:26:33 +01:00
Balázs Orbán
e504044489
fix: pass csrfToken to signin renderer
v3.2.0-canary.19
2021-01-10 21:03:00 +01:00
Balázs Orbán
173df76c0f
feat: improve package development experience ( #1064 )
...
* chore(deps): add next and react to dev dependencies
* chore: move build configs to avoid crash with next dev
* chore: add next js dev app
* chore: remove .txt extension from LICENSE file
* chore: update CONTRIBUTING.md
* chore: watch css under development
* style(lint): run linter on index.css
* chore: fix some imports for dev server
* refactor: simplify client code
* chore: mention VSCode extension for linting
* docs: reword CONTRIBUTING.md
* chore: ignore linting pages and components
v3.2.0-canary.18
2021-01-10 20:20:21 +01:00
Balázs Orbán
44ffd55fe2
refactor: code base improvements 3 ( #1072 )
...
* refactor: extend res.{end,send,json}, redirect
* refactor: chain res methods, remove unnecessary ones
* refactor: simplify oauth callback signature
* refactor: code simplifications
* refactor: re-export everything from routes in one
* refactor: split up main index.js to multiple files
* refactor: simplify passing of provider(s) around
* refactor: extend req with callbackUrl inline
* refactor: simplify page rendering
* refactor: move error page redirects to main file, simplify renderer
* refactor: inline req.options definition
* refactor: simplify error fallbacks
* refactor: remove else branches and unnecessary try..catch
* refactor: add docs, and simplify jwt functions
* refactor: prefer errors object over switch..case in signin page
* feat: log all params sent to logger instead of only first
* refactor: fewer lines input validation
* refactor: remove even more unnecessary else branches
2021-01-10 20:15:25 +01:00
Evgeniy Boreyko
fb8ec8a469
feat(provider): add vk.com provider ( #1060 )
...
* feat(provider): add vk.com provider
* refactor(provider): reduce vk.com provider api
v3.2.0-canary.17
2021-01-09 22:25:05 +01:00
Balázs Orbán
65504d6917
fix: remove async from NextAuth default handler
...
This function should not return a Promise
v3.2.0-canary.16
2021-01-06 08:45:54 +01:00
Balázs Orbán
3fcdd22656
feat(provider): reduce user facing API ( #1023 )
...
Co-authored-by: Balazs Orban <balazs@nhi.no >
v3.2.0-canary.15
2021-01-05 16:34:26 +01:00
Balázs Orbán
7a1d712096
fix: use authorizationUrl correctly
v3.2.0-canary.14
2021-01-04 22:53:02 +01:00
Balázs Orbán
f7ff4c9219
fix: trigger release
v3.2.0-canary.13
2021-01-04 22:20:15 +01:00
Balázs Orbán
20f40d027a
refactor: code base improvements 2 ( #1045 )
2021-01-04 22:16:42 +01:00
Balázs Orbán
b5384e7403
docs: misc improvements [skip release] ( #1043 )
2021-01-04 20:30:41 +01:00
Balázs Orbán
b5c4e91f17
chore: run tests on canary [skip release]
2021-01-03 23:18:46 +01:00
Balázs Orbán
f1f144951a
docs: add powered by vercel logo [skip release]
2021-01-03 13:40:48 +01:00
Balázs Orbán
0380edfae9
fix: don't chain on res.end on non-chainable res methods ( #1031 )
v3.2.0-canary.12
2021-01-02 21:45:20 +01:00
Balázs Orbán
4d89b27784
fix: miscellaneous bugfixes ( #1030 )
...
* fix: use named params to fix order
* fix: avoid recursive redirects
* fix: revert to use parsed baseUrl
* fix: avoid recursive res.end calls
* fix: use named params in renderPage
* fix: promisify lib/oauth/callback result
v3.2.0-canary.11
2021-01-02 21:28:54 +01:00
Balázs Orbán
e17acb6762
chore: rename labeler.yaml to labeler.yml [skip release]
2021-01-02 17:57:33 +01:00
Balázs Orbán
91e26ca475
chore: add auto labeling to PRs [skip release] ( #1025 )
...
* chore: add auto labeling to PRs [skip release]
* chore: allow any file type for test label to be added
2021-01-01 23:05:13 +01:00
Balázs Orbán
c8e76b4b5d
feat: forward id_token to jwt and signIn callbacks ( #1024 )
v3.2.0-canary.10
2021-01-01 21:49:27 +01:00
Didi Keke
a8362ec380
feat(provider): Add Mail.ru OAuth Service Provider and Callback snippet ( #522 )
...
* Update callback.js
- Fix Mail.ru bug (missing request parameter: access_token)
Note: setGetAccessTokenProfileUrl should be added to Mail.ru provider to enable support.
* Add Mail.ru OAuth Service Provider
* Update callbacks.md
- Fix broken callbacks snippet.
* Update callback.js
- Bug fix https://github.com/nextauthjs/next-auth/pull/522#issuecomment-669851914
- Minor refactoring.
* Fix: Code linting.
* Update callback.js
Improve approach for building of URL based review recommendation.
* Feat: Reduce API surface expansion
Make use of provider.id === "mailru" as suggested in review discussion in place of setGetAccessTokenProfileUrl.
* Fix: Code linting
v3.2.0-canary.9
2021-01-01 19:05:21 +01:00
Balázs Orbán
f2ad69358f
refactor: code base improvements ( #959 )
...
* chore: fix casing of OAuth
* refacotr: simplify default callbacks lib file
* refactor: use native URL instead of string concats
* refactor: move redirect to res.redirect, done to res.end
* refactor: move options to req
* refactor: improve IntelliSense, name all functions
* fix(lint): fix lint errors
* refactor: remove jwt-decode dependency
* refactor: refactor some callbacks to Promises
* revert: "refactor: use native URL instead of string concats"
Refs: 690c55b04089e4f3157424c816d43ee4cecb77a0
* chore: misc changes
Co-authored-by: Balazs Orban <balazs@nhi.no >
2021-01-01 14:53:06 +01:00
Balázs Orbán
ca06976422
docs: fix typos in CONTRIBUTING.md [skip release]
2021-01-01 13:43:19 +01:00
Balázs Orbán
7fa4275340
docs: update contributing information [skip release] ( #1011 )
...
* docs: update CONTRIBUTING.md
* docs: use db instead of database for more space
* docs: update CONTRIBUTING.md
* docs: update PR template
* docs: add note about skipping a release
2021-01-01 13:37:46 +01:00
Melanie Seltzer
c684336b32
docs: small update to sign in/out examples ( #1016 )
...
* Update examples in client.md
* Update more examples
Co-authored-by: Balázs Orbán <info@balazsorban.com >
v3.2.0-canary.8
2021-01-01 13:11:49 +01:00
Balázs Orbán
82d16e6ac4
feat: allow to return string in signIn callback ( #1019 )
v3.2.0-canary.7
2020-12-31 21:55:30 +01:00
Balázs Orbán
bf7efbc252
docs: Remove unnecessary promises ( #915 )
v3.2.0-canary.6
2020-12-31 12:16:03 +01:00
Florian Michaut
b9862b86b5
feat(db): make Fauna DB collections & indexes configurable ( #968 )
...
* Add collections & indexes overrides for Fauna DB
* Fix the name of the verification token index
Co-authored-by: Florian Michaut <florian@coding-days.com >
v3.2.0-canary.5
2020-12-31 10:26:26 +01:00
Ben West
9b579b5fcb
Change image to text from varchar ( #777 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2020-12-31 06:25:10 +01:00
Yuma Matsune
abcf845ebf
fix(adapter): use findOne for typeorm ( #1014 )
v3.2.0-canary.4
2020-12-30 21:08:09 +01:00
Balázs Orbán
ee398d1acd
fix: treat user.id as optional param ( #1010 )
v3.2.0-canary.3
2020-12-30 14:23:59 +01:00
Balázs Orbán
c31cbbcd30
chore(release): trigger release on docs type
v3.2.0-canary.2
2020-12-29 23:02:07 +01:00
Balázs Orbán
1728f50952
chore(release): delete old workflow
2020-12-29 22:51:00 +01:00
Junior Vidotti
2eb17cba1a
docs(database): add mssql indexes in docs, fix typos ( #925 )
...
* added mssql indexes in docs, fixed typo
* docs: fix typo in www/docs/schemas/mssql.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2020-12-29 22:49:38 +01:00
Balazs Orban
15196ee3d1
chore(release): change semantic-release/git to semantic-release/github
2020-12-29 22:42:32 +01:00
Balázs Orbán
aa4439e182
feat: add semantic-release ( #920 )
v3.2.0-canary.1
2020-12-29 22:00:08 +01:00