Balázs Orbán
214b22ecbb
feat(provider): re-add state, expand protection provider options ( #1184 )
...
* refactor: move OAuthCallbackError to errors file
* refactor: improve pkce handling
* feat(provider): re-introduce state to provider options
* docs(provider): mention protection options "state" and "none"
* docs(provider): document state property deprecation
* fix: only add code_verifier param if protection is pkce
* docs: explain state deprecation better
* chore: unify string
2021-02-01 10:01:10 +01:00
Balázs Orbán
f50ac194aa
chore(provider): remove Mixer ( #1178 )
...
"Thank you to our amazing community and Partners.
As of July 22, the Mixer service has closed."
2021-02-01 10:01:10 +01:00
Balázs Orbán
b40e1441ec
docs: fix typo in callbacks.md [skip release]
2021-02-01 10:01:10 +01:00
Balázs Orbán
90a8f7c890
docs: clear things up around using access_token [skip release]
...
#1078
2021-02-01 10:01:10 +01:00
Balázs Orbán
a7bae0395b
fix: fix lint issues
2021-02-01 10:01:10 +01:00
Balázs Orbán
71b3122fd1
fix: use startsWith for protocol matching in parseUrl
...
closes #842
2021-02-01 10:01:10 +01:00
Luke Lau
1caa9bb813
fix(provider): use authed_user on slack instead of spotify ( #1174 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
daed68aee2
docs(provider): add Salesforce provider
2021-02-01 10:01:10 +01:00
Mohamed El Mahallawy
2f3ed7507b
feat(provider): add Salesforce provider ( #1027 )
2021-02-01 10:01:10 +01:00
Balázs Orbán
a15bdc191b
fix: correct logger import
2021-02-01 10:01:10 +01:00
Balázs Orbán
ea71a1fb2f
feat: add PKCE support ( #941 )
...
* chore(deps): upgrade dependencies
* chore(deps): add pkce-challenge
* feat(pkce): initial implementation of PCKE support
* chore: remove URLSearchParams
* chore(deps): upgrade lockfile
* refactor: store code_verifier in a cookie
* refactor: add pkce handlers
* docs: add PKCE documentation
* chore: remove unused param
* chore: revert unnecessary code change
* fix: correct variable names
2021-02-01 10:01:10 +01:00
Balázs Orbán
0069095bce
docs: update info about TypeScript [skip release]
2021-02-01 10:01:10 +01:00
Zhao Lei
42a822c407
feat(provider): add option to generate email verification token ( #541 )
...
* Add option to generate email verification token
* chore: remove unused import
* refactor: define default generateVerificationToken in-place
* refactor: define default generateVerificationToken in-place
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2021-02-01 10:01:10 +01:00
Henrik Wenz
2cfe5ad879
fix(adapter): fix ISO Datetime type error in Prisma updateSession ( #640 )
...
Co-authored-by: Nico Domino <yo@ndo.dev >
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2021-02-01 10:01:10 +01:00
Balázs Orbán
cba149f4b6
feat: forward signIn auth params to /authorize ( #1149 )
...
* refactor: authorisation -> authorization
* feat: forward authorizationParams from signIn function
* refactor: take auth params as third argument
* docs: document signIn authorizationParams
2021-02-01 10:01:10 +01:00
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