Balázs Orbán
17b789822d
fix: make oauth_token_secret and oauth_token available ( #1322 )
...
* fix: add oauth_token_secret to requests
* chore: remove console.log
* refactor: follow casing from response
v3.14.7
2021-04-14 21:26:15 +02:00
Ovidiu Dan
fd12194c0c
docs(provider): Explain how to get access to LinkedIn authentication ( #1706 )
2021-04-12 18:46:20 +02:00
Balázs Orbán
1c662e9ddc
fix(page): fall back to default error page ( #1700 )
v3.14.6
2021-04-12 03:56:47 +02:00
Balázs Orbán
5f717b3914
chore: merge main into next
2021-04-12 00:46:27 +02:00
Balázs Orbán
968903d227
fix(oauth): support response_mode=form_post ( #1669 )
...
* chore: alias dev script to next
* feat(core): fallback to body when reading state
* refactor: set csrfToken on req.options implicitly
Ensures we do this similarly than
in other handlers like pkce, state, extendRes, callbackUrlHandler etc.
* chore: add code comment for debugging
v3.14.5
2021-04-12 00:24:05 +02:00
Balázs Orbán
3dedf6c26c
fix(provider): proper check of protection property ( #1694 )
...
* fix(provider): proper check of protection property
* chore: add comment
v3.14.4
2021-04-12 00:15:29 +02:00
Amauri Dias
d1dbfe1023
fix: truly replace .flat() to support Node <11 again ( #1691 )
v3.14.3
2021-04-11 23:20:37 +02:00
David Colón
63171a0271
fix: validate provider existence before looking for protection property ( #1687 )
...
* Fix validation of provider existence before looking for protection property
* Use optional chaining
v3.14.2
2021-04-11 15:20:01 +02:00
Amauri Dias
872e180339
fix: replace .flat() to support Node <11 again ( #1684 )
v3.14.1
2021-04-11 10:57:25 +02:00
ifly7charlie
a7709df796
docs: Document the additional parameters in JWT ( #1550 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2021-04-08 14:00:19 +02:00
Balázs Orbán
dbe283f0fa
refactor: rename extend-res to extend-req
2021-04-07 22:26:54 +02:00
Balázs Orbán
727426bbec
chore(ts): auto-label TypeScript related changes
2021-04-07 20:16:10 +02:00
Vinicius CR
5a3ee47337
feat(provider): accept array for protection to support multiple mechanisms ( #1565 )
...
* fix: add protection both option
* feat: update docs with new protection value
* fix: lint files
* refactor: change protection from string to array
* chore: reverting unespected change
* chore: lint files
Co-authored-by: Balázs Orbán <info@balazsorban.com >
v3.14.0
2021-04-06 19:20:56 +02:00
bhaveshmishra-code
8dd8f7c48a
docs: fix typo in callbacks.md ( #1657 )
...
Fixed the spelling mistake.
existance -> existence
2021-04-05 19:35:26 +02:00
Jaime Martínez Rincón
072c59d85a
docs: fix typo primsa ( #1652 )
2021-04-05 00:25:46 +02:00
dependabot[bot]
d0e8147a48
chore(deps): bump y18n from 4.0.0 to 4.0.1 ( #1631 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 00:24:39 +02:00
Jasper Moelker
5bc8f8b986
docs(page): correct getCsrfToken and input types ( #1651 )
...
This fixes the a mismatch between the import (`csrfToken`) and the method (`getCsrfToken`) used in `getInitialProps`/`getServerSideProps`.
In addition the form input fields now have their correct type: `email` for email input (for better autocomplete, virtual keyboard support and native validation) and `password` for the password input (to hide password while typing).
2021-04-04 22:01:53 +02:00
hoangbits
136361e1f4
docs: rename command to vercel cli, now cli is deprecated ( #1647 )
2021-04-04 11:02:38 +02:00
hoangbits
cc9869592c
docs: fix typo in providers.md ( #1641 )
2021-04-02 17:18:40 +02:00
Jay Liew
073da60c3d
docs: Update pages.md ( #1592 )
...
* Update pages.md
Updated Credentials Sign-In code example to indicate how to use `getServerSideProps` but still also showing the older `getInitialProps` example
* Update www/docs/configuration/pages.md
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* update documentation to show example using getServerSideProps()
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Jay Liew <jay@haute.tech >
2021-03-31 00:31:31 +02:00
ifly7charlie
aacc34bbfd
docs(error): Add missing error message and technique to resolve ( #1549 )
...
* Add missing error message and technique to resolve
* Update errors.md
Correct with correct error message and more complete suggestions on resolving it
2021-03-26 23:09:21 +01:00
jgollhardt
074688d10e
docs(provider): fix wrong param name in sendVerificationRequest example ( #1595 )
2021-03-26 23:01:25 +01:00
Balázs Orbán
d09a45ec7c
chore: merge main into next
2021-03-26 16:23:35 +01:00
Macarse, Christian Ryan R
b3ffe50c03
docs(provider): removed misleading provider signin link ( #1588 )
2021-03-25 22:30:46 +01:00
Shubham Shukla
e6d063825d
fix(provider): added options in instagram provider ( #1570 )
v3.13.3
2021-03-23 22:28:54 +01:00
Balázs Orbán
985f7b3431
fix(logger): properly end request every time ( #1557 )
...
* fix(logger): properly end request every time
* chore: fix linting
v3.13.2
2021-03-20 10:08:12 +01:00
Max
237b016378
fix(provider): reject access token if slack login flow was canceled ( #1544 )
...
* fix: reject access token if slack login flow was canceled
* style: fix lint errors in oauth client
v3.13.1
2021-03-18 14:59:24 +01:00
Joshua Williams
776b9480da
feat(provider): add Zoho provider ( #1516 )
...
* feat(provider): add zoho
* fix: use LF instead of CRLF
* fix: crlf to lf line endings
Co-authored-by: Balázs Orbán <info@balazsorban.com >
v3.13.0
2021-03-16 19:27:11 +01:00
Honman Yau
07a3f76cb3
docs: fix typos in REST API guide ( #1528 )
2021-03-16 19:25:24 +01:00
tclaude94
3726d68c49
feat(provider): add FACEIT provider ( #1469 )
v3.12.0
2021-03-16 00:00:35 +01:00
dependabot[bot]
e31db1726a
chore(deps): bump xmldom from 0.3.0 to 0.5.0 ( #1510 )
...
Bumps [xmldom](https://github.com/xmldom/xmldom ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.3.0...0.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-13 14:19:22 +01:00
James Perkins
a241199c11
docs(tutorials): Adding two more tutorials to the list.
...
[skip release]
2021-03-13 03:42:00 +00:00
dependabot[bot]
5385ec20a9
chore(deps): bump elliptic from 6.5.3 to 6.5.4 in /www ( #1493 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 22:59:10 +01:00
Balázs Orbán
810d02e671
fix(deps): upgrade to latest preact-render-to-string ( #1475 )
v3.11.2
2021-03-08 10:39:13 +01:00
Balázs Orbán
930f58eba3
chore: merge main into next
2021-03-08 01:05:54 +01:00
Valentin Hervieu
e5535734f8
fix(client): set useSession loading state correctly ( #1468 )
...
This is fixing #1467 .
The issue was due to doing the `setLoading(false)` in the finally: as we can do an early return [here](a7e08e2a32/src/client/index.js (L100-L100) ), we would still go to the finally and mark the session as being loaded.
I simply removed the `finally` block to only set the `loading` state to false when:
- the data is ready
- an error occures
v3.11.1
2021-03-07 19:11:32 +01:00
Taehwan Noh
ba7aed1057
feat(provider): add Kakao provider ( #1459 )
v3.11.0
2021-03-06 21:52:39 +01:00
Balázs Orbán
a7e08e2a32
fix: make sure useSession populates session correctly ( #1462 )
v3.10.1
2021-03-06 20:02:43 +01:00
mcha
0d13040264
docs(client): fix client.md typos ( #1453 )
2021-03-06 10:50:29 +01:00
Balázs Orbán
582520f8ef
chore: fix typo in feature request template
2021-03-06 00:35:09 +01:00
Sam Bauch
95942519a5
feat(provider): add Osso SAML provider ( #1448 )
...
Co-authored-by: @sbauch
v3.10.0
2021-03-06 00:21:38 +01:00
Balázs Orbán
f3e64f04cc
feat(client): introduce NEXTAUTH_URL_INTERNAL ( #1449 )
...
Co-authored-by: @gergelyke
v3.9.0
2021-03-06 00:10:36 +01:00
Balázs Orbán
ed5cc4aa65
feat(provider): add Instagram provider ( #1447 )
...
Co-authored-by: @PolMrt pol@hey.com
v3.8.0
2021-03-05 23:39:50 +01:00
Balázs Orbán
0e20b60229
docs(database): mention CockroachDB
...
Co-authored-by: @jukbot <jukbot@yellotalk.co >
2021-03-05 22:52:48 +01:00
Balázs Orbán
3aee24b5dc
refactor: client improvements ( #1428 )
...
* docs(client): add TS definitions to client
* docs(client): add documentation links to public methods
* refactor(client): simplify window sync, simplify logic
* refactor(client): extract repeating logic to _fetchData
* refactor(client): remove clientId
* refactor(client): use session in Provider if passed
2021-03-05 22:47:32 +01:00
Baterka
960ca85907
fix: send only the error message in callback redirects ( #1424 )
...
Changed `encodeURIComponent(error)` to `encodeURIComponent(error.message)` to remove prefix (such as `Error: ` and possible stack trace).
Seems like better way of doing it and also safer if server throws some error with sensitive data.
v3.7.1
2021-03-05 18:34:11 +01:00
Balázs Orbán
c20b7f2930
feat: use IE11 as client code bundle target ( #1402 )
v4.0.0-next.1
2021-03-03 20:25:42 +01:00
Balázs Orbán
e418cddd96
chore: merge main into next
2021-03-03 20:25:42 +01:00
Balázs Orbán
f960cc0f6f
chore(docs): upgrade docs dependencies
2021-03-03 20:13:46 +01:00
Balázs Orbán
0f64f3eea7
chore: don't mark bugs as stale
...
Had a good laugh today 😄 :
"This is not stale. Bread goes stale. Bugs don't. They don't just magically go away because time has passed" - Unknown
https://twitter.com/ericclemmons/status/1367000259046604803
2021-03-03 19:54:13 +01:00