Balázs Orbán
31bb2c342c
chore(adapters): remove fauna ( #1148 )
2021-02-01 10:01:10 +01:00
Radhika
af30be1fa4
docs: remove v1 documentation ( #1142 )
2021-02-01 10:01:10 +01:00
Yuri Gor
ebaa28f04e
chore(deps): upgrade typeorm to v0.2.30 ( #1145 )
2021-02-01 10:01:10 +01:00
t.kuriyama
e26297b901
feat: add native hkdf ( #1124 )
...
* feat: add native hkdf
* feat: import only needed to do hkdf
* feat: tweak digest and arguments
2021-02-01 10:01:10 +01:00
Balázs Orbán
2562b3c5d8
chore: fix lint issues [skip release]
2021-02-01 10:01:10 +01:00
suraj10k
f8e5a79ce1
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-02-01 10:01:10 +01:00
Balázs Orbán
be53ef0f71
chore: define providers in single file for docs [skip release]
2021-02-01 10:01:10 +01:00
Aymeric
fbb5a12cbd
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
2021-02-01 10:01:10 +01:00
Balázs Orbán
70a186c183
style: make p system theme aware [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
cff9d3e294
fix: export getSession [skip release]
...
somehow the default export does not work in the dev app
2021-02-01 10:01:10 +01:00
Balázs Orbán
2865b8cc2d
refactor: show signin page in dev app [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
b84f1b681c
refactor: be explicit about path in jsonconfig [skip release]
2021-02-01 10:01:10 +01:00
Ben
ea1d09bf83
feat(provider): add LINE provider ( #1091 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
a18ec09307
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
2021-02-01 10:01:10 +01:00
Balázs Orbán
37cb81094f
docs: update some urls in the docs [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
040d7c5017
chore: update caiuse-lite db
2021-02-01 10:01:10 +01:00
Balázs Orbán
f53ea6c9a9
docs: improve FAQ docs [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
7f670c5222
docs: clarify .env usage in CONTRIBUTING.md [skip release] ( #1085 )
2021-02-01 10:01:10 +01:00
Alex B
b1a99ec32f
feat: replace blur/focus event to visibility API for getSession ( #1081 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
ca065604a3
fix: pass csrfToken to signin renderer
2021-02-01 10:01:10 +01:00
Balázs Orbán
77de2abd14
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
2021-02-01 10:01:10 +01:00
Balázs Orbán
f6d6c4344c
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-02-01 10:01:10 +01:00
Evgeniy Boreyko
e8b1513899
feat(provider): add vk.com provider ( #1060 )
...
* feat(provider): add vk.com provider
* refactor(provider): reduce vk.com provider api
2021-02-01 10:01:10 +01:00
Balázs Orbán
505efc8a5d
fix: remove async from NextAuth default handler
...
This function should not return a Promise
2021-02-01 10:01:10 +01:00
Balázs Orbán
76b983229a
feat(provider): reduce user facing API ( #1023 )
...
Co-authored-by: Balazs Orban <balazs@nhi.no >
2021-02-01 10:01:10 +01:00
Balázs Orbán
ecddaf696b
fix: use authorizationUrl correctly
2021-02-01 10:01:10 +01:00
Balázs Orbán
b43e7dca43
fix: trigger release
2021-02-01 10:01:10 +01:00
Balázs Orbán
e7c34fd74b
refactor: code base improvements 2 ( #1045 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
e0dd8e400b
docs: misc improvements [skip release] ( #1043 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
21d22a7e08
chore: run tests on canary [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
cb2fe0cae6
docs: add powered by vercel logo [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
9ed75c7788
fix: don't chain on res.end on non-chainable res methods ( #1031 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
8e8713755a
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
2021-02-01 10:01:10 +01:00
Balázs Orbán
7fdde6268e
chore: rename labeler.yaml to labeler.yml [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
5e949a3b97
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-02-01 10:01:10 +01:00
Balázs Orbán
a979e040cd
feat: forward id_token to jwt and signIn callbacks ( #1024 )
2021-02-01 10:01:10 +01:00
Didi Keke
2205cfa754
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
2021-02-01 10:01:10 +01:00
Balázs Orbán
0989ef6171
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-02-01 10:01:10 +01:00
Balázs Orbán
7979b1069e
docs: fix typos in CONTRIBUTING.md [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
71b50082f8
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-02-01 10:01:10 +01:00
Melanie Seltzer
f3cc4d1018
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 >
2021-02-01 10:01:10 +01:00
Balázs Orbán
15570b7479
feat: allow to return string in signIn callback ( #1019 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
a5187b69e8
docs: Remove unnecessary promises ( #915 )
2021-02-01 10:01:10 +01:00
Florian Michaut
751fd7bb0e
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 >
2021-02-01 10:01:10 +01:00
Ben West
94054db3f3
Change image to text from varchar ( #777 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
2021-02-01 10:01:10 +01:00
Yuma Matsune
f93dbbbfee
fix(adapter): use findOne for typeorm ( #1014 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
e3fd0ad450
fix: treat user.id as optional param ( #1010 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
e06816a374
chore(release): trigger release on docs type
2021-02-01 10:01:10 +01:00
Balázs Orbán
284118e708
chore(release): delete old workflow
2021-02-01 10:01:10 +01:00
Junior Vidotti
84bcecbec1
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 >
2021-02-01 10:01:10 +01:00