Iain Collins
c220bcc57e
Update version to 3.0.0-beta.13
2020-07-27 05:20:34 +01:00
Iain Collins
f8a4808aa7
Fix bug with NEXTAUTH_URL parsing
2020-07-27 05:20:34 +01:00
ndo@$(hostname)
495d0a47db
fix: marquee icons
2020-07-27 05:20:34 +01:00
Iain Collins
8cda627fe6
Update adapter documentation
2020-07-27 05:20:34 +01:00
Iain Collins
d0a0ccc6bc
Update TypeORM tutorial
2020-07-27 05:20:34 +01:00
Iain Collins
999222cd97
Refactor to simplify site URL configuration
...
Includes some linter fixes
2020-07-27 05:20:34 +01:00
Iain Collins
72eb7fda3f
Fix error merging branches for v3
...
Accidentally squashed a couple of lines in OAuth callback.
2020-07-27 05:20:34 +01:00
Iain Collins
3c94940ae6
Respect existing cookies on a request object
...
Unproven, but should fix #395 and improve middleware compatibility.
2020-07-27 05:20:34 +01:00
Iain Collins
1a8ed2aec1
Update version to 3.0.0-beta.9
2020-07-27 05:20:34 +01:00
Iain Collins
0e2321dc14
Update pages documentation
2020-07-27 05:20:34 +01:00
Iain Collins
78d1983f9a
Update version to 3.0.0-beta.8
2020-07-27 05:20:34 +01:00
Iain Collins
5435df110c
Fix linter errors
2020-07-27 05:20:34 +01:00
Iain Collins
32853b8d1e
Update events, callbacks & pages to use camelCase
...
* This is a breaking change in v3
* Includes updated documentation
2020-07-27 05:20:34 +01:00
Iain Collins
9737b4c6ab
Only invoke setTimeout client side
...
This should never be called server side, but just in case someone calls setOptions server side this prevents it from being invoked at all.
2020-07-27 05:20:34 +01:00
Iain Collins
e9bdd5c355
Improve client event handling
...
Improves how well syncing client state is handled and how well caching is leveraged.
Reduces network load, cpu load and memory footprint.
2020-07-27 05:20:34 +01:00
Iain Collins
9728567296
Improve client state syncing
...
* clientMaxAge now passive
* clientPollInterval added (works like old clientMaxAge)
* poll intervals uses timer (more efficent)
* updates state on window focus/blur
2020-07-27 05:20:34 +01:00
Iain Collins
ef6579a7ee
Refactor redirect handling (WIP)
...
Passing a redirect function like this is a bit horrible, but is less horrible than before.
2020-07-27 05:20:34 +01:00
Iain Collins
8e810aa765
Fix linting errors and bug in getCsrfToken
2020-07-27 05:20:34 +01:00
Iain Collins
37596edf2b
Improve CSRF security for all routes
...
Includes breaking changes for v3 and updates to documentation.
If using the client, the only required change should be setting the NEXTAUTH_URL environment variable.
2020-07-27 05:20:34 +01:00
tmayr@tmayr.com
229a3e430e
Add tutorial on how to use custom typeorm models
2020-07-27 05:20:34 +01:00
Nico Domino
1d80f595c5
Add provider Vercel-style marquee to docs
...
* add: marquee provider section
* fix: lint
* update: adjust node sizes
* fix: window undefined SSR
* fix: path to imgs
Co-authored-by: Iain Collins <me@iaincollins.com >
2020-07-27 05:20:34 +01:00
Iain Collins
189a2c8e0e
Fix for reading private key in Apple provider
2020-07-27 05:20:34 +01:00
Iain Collins
97096fb811
Fix linter errors and add comments
2020-07-27 05:20:34 +01:00
Gerald Nolan
e8b75e40b1
feat: Added UserData to ProfileData after return from Apple to get user name on first sign in
2020-07-27 05:20:34 +01:00
Iain Collins
d41c38e002
Add support for hitting cancel if using token id
...
When using a provider that uses Token ID option (like Apple) a user hitting cancel with no longer cause the app to crash.
Users who do this will now be taken back to the sign in page.
This was already working for other providers that didn't use this option but wasn't supported for providers that did use it.
2020-07-27 05:20:34 +01:00
Fredrik Pettersen
966bc7b433
docs(prisma): Add note about model names and set email to optional
2020-07-27 05:20:34 +01:00
Fredrik Pettersen
e7b06d3362
fix(prisma): Make sure provider id is a string
2020-07-27 05:20:34 +01:00
Fredrik Pettersen
d5d8eb8d7c
feat(adapter): Add opinionated prisma adapter
2020-07-27 05:20:34 +01:00
nyedidikeke
8ec07f0224
Add LinkedIn provider
2020-07-27 03:22:43 +01:00
dan-kwiat
558536db1e
docs(options): remove duplicate arrow
2020-07-23 10:30:50 +01:00
Lori Karikari
0c2fe054d1
[Docs] fix small typo
2020-07-20 17:46:48 +02:00
dependabot[bot]
b5a69fd787
Bump lodash from 4.17.15 to 4.17.19 in /www
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-17 12:31:11 +01:00
dependabot[bot]
9b29ed347d
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-17 12:06:12 +01:00
Jibin George
c5c4ff4d51
Fix typo
2020-07-15 13:30:01 +01:00
styxlab
008b1a9f8d
fallback if user.name is null ( #424 )
...
Co-authored-by: cws <cws@home.fritz.box >
2020-07-12 18:52:58 +02:00
Iain Collins
4a6f153aa6
Update question.md
2020-07-10 16:14:10 +01:00
Iain Collins
9eccc78e3a
Update feature_request.md
2020-07-10 16:13:12 +01:00
Iain Collins
09938cc368
Update bug_report.md
2020-07-10 16:12:59 +01:00
Jake Harding
5db05e1031
Use id_str for reading in Twitter user ID
2020-07-09 11:07:18 +01:00
Ryuichi Okumura
f6ba72b4fa
Fix wrong syntax in Apple provider example
...
It fixes a syntax error in Apple provider example code.
2020-07-07 19:38:44 +01:00
Jonathan Dean
bf7e555cfa
Fix typo: curly brace should be square bracket
2020-07-07 19:35:36 +01:00
William Duplenne
26abc70a99
Add Spotify provider
...
Add Spotify to the sidebar
2020-07-07 08:35:55 +01:00
tmayr@tmayr.com
d38cd54dee
Fix using merged models var instead of user provided models in props
...
Merged models were being overwritten by user provided models which
might come incomplete
2020-07-06 20:51:36 +01:00
felipe muner
200690ad6c
Update pages.md ( #389 )
2020-07-05 10:58:09 +02:00
Nico Domino
52b69a6d68
Add: testing with cypress docs ( #357 )
...
* add: testing with cypress docs
* update: add tutorials group
2020-07-04 21:47:00 +02:00
Theo Gravity
f319b2af05
Fix reading of req in getSession()
2020-07-04 01:27:03 +01:00
Iain Collins
b80a005733
Update callbacks.md
2020-07-01 17:16:15 +01:00
Arunoda Susiripala
34936aecc0
Pass maxAge to the 'jwt.getJwt' function
...
With that it can pass that to the `jwt.decode` method. This will be useful, if we are using a custom `maxAge` value.
2020-07-01 10:46:35 +01:00
Tom Astley
b021f26f03
Update client.md ( #370 )
...
Fixed small syntax error on line 219 in the signout example. Added a '('
2020-06-30 11:56:47 +02:00
Iain Collins
fcf7197120
Fix indentation in example (trivial)
2020-06-30 10:47:29 +01:00