Commit Graph

2455 Commits

Author SHA1 Message Date
Iain Collins
935c4f2f82 Update CONTRIBUTING.md 2020-06-19 08:28:35 +01:00
Iain Collins
b893b6485b Refactor db tests an update docs 2020-06-19 08:28:35 +01:00
Iain Collins
6f5b3bd213 Refactor models to use created_at / updated_at 2020-06-19 08:28:35 +01:00
Iain Collins
14fd1c9b40 Update feature_request.md 2020-06-18 17:34:14 +01:00
Daniel Baker
c695ca98e5 Fix typo in auth0 provider config
auth0 was configured with `respponse_type` but should be `response_type`
2020-06-18 17:20:20 +01:00
Lars Eckervogt
7649eb7aed Fix documentation for getSession and update imports to be consistent 2020-06-16 22:03:56 +01:00
Iain Collins
0119622d18 Update issue templates to point to documentation
Have been the asked some questions a few times (including via email).

Most of the time these reports have already been addressed.

Trying to nudge behaviour to check the example project and docs first.

Also want to understand where people couldn't find what they needed.

Removed pre-filled issue title as people were forgetting to change it.
2020-06-16 18:19:38 +01:00
Lori Karikari
15c6781083 fixed some small typo in models docs 2020-06-15 21:02:02 +02:00
Gerald Nolan
574387e09f Added IdentityServer4 2020-06-15 17:27:13 +02:00
Jefferson Bledsoe
aa1f29dc53 Documentation typo fixes (#268) 2020-06-15 17:19:05 +02:00
Jefferson Bledsoe
bb9a26d4fc Change all instances of "identifer" to "identifier" (#267) 2020-06-15 17:12:37 +02:00
Iain Collins
4b036d3beb Update credentials.md 2020-06-15 09:28:06 +01:00
Iain Collins
6dd8dc325e Update callbacks.md 2020-06-15 09:26:07 +01:00
Iain Collins
22005c7465 Update callbacks.md 2020-06-15 09:25:23 +01:00
Iain Collins
0686b5ff32 Bump beta version to 78 2020-06-15 08:58:10 +01:00
StefanWerW
f495ecda3a Fixes no adapter error
Fixes #263
2020-06-15 08:56:29 +01:00
Iain Collins
1f4bc91d87 Add limited support for credentials sign in 2020-06-15 04:01:52 +01:00
Iain Collins
e54bf254cb Bump beta version to 76 2020-06-15 01:09:03 +01:00
Iain Collins
fc2d3adc1f Improve built-in pages on mobile
Resolves #231 for now.

I think there is stil room for improvement, but these tweaks will do for now I think.
2020-06-15 01:08:05 +01:00
Iain Collins
18c99616b3 Bump beta version to 75 2020-06-15 00:03:06 +01:00
Iain Collins
70e3ab7e89 Update callbacks and events documentation 2020-06-15 00:03:06 +01:00
Iain Collins
9b25a2d245 Add OAuth profile to JWT callback on sign in 2020-06-15 00:03:06 +01:00
Iain Collins
966aa8245d Wire up supported events so they are triggered 2020-06-15 00:03:06 +01:00
Iain Collins
d220587018 Add description for each event 2020-06-15 00:03:06 +01:00
Iain Collins
c665631191 Refactor callbacks, add events; add debug logging
* New callbacks implemented
* Some events added (not all wired up)
* Documentation for old callbacks removed, new documentation to be added
* All flows seem to be working with all databases.
* If debug is set to true, debug messages can now be easily logged anywhere in the app

The refactoring has been a success - the code is much more maintainable and the flows are better.

This update need further testing to be sure it's all working as intended
2020-06-15 00:03:06 +01:00
Iain Collins
6032a99a90 Add callbacks and events 2020-06-15 00:03:06 +01:00
Iain Collins
d130251b41 Add file for Google Search Console verification
This is so we can control how the site appears in Google.
2020-06-14 15:13:08 +01:00
Iain Collins
4dd8d3160b Merge branch 'main' of github.com:iaincollins/next-auth into main 2020-06-14 14:49:26 +01:00
Iain Collins
667fe8cf50 Update documentation
* Combined options and advanced options into one page
* Improved structure of sidebar
* Other miscellaneous edits
2020-06-14 14:49:20 +01:00
Iain Collins
554c32c6f1 Refactoring naming strategy
Not a breaking change, just a refactor!

* Removes dependency on external library
* Resolves problem of messy logic in models and transform by putting it all in a naming strategy
* No change to table / collection schemas!
2020-06-14 14:15:28 +01:00
Iain Collins
bdc0e8e16f Update documentation 2020-06-14 04:55:56 +01:00
Iain Collins
3b0527add8 Fix typo in docs 2020-06-14 04:39:44 +01:00
Iain Collins
2b494357e5 Update documentation 2020-06-14 04:39:01 +01:00
Iain Collins
7a0624b8db HOTFIX for sqlite schema transform 2020-06-14 04:13:26 +01:00
Iain Collins
bb8a2c94cc Update postgres.md 2020-06-14 04:01:24 +01:00
Iain Collins
f3532ebef2 Update models to use better table/collection names
* Use plural table/collection names
* Use snake_case on SQL
* Use camelCase on Document DB
* Updated docs
2020-06-14 03:50:22 +01:00
Iain Collins
c5fad1b933 Update user model documentation 2020-06-14 03:50:22 +01:00
Iain Collins
5e9f392ba8 Bump beta version to 72 2020-06-14 03:50:22 +01:00
Iain Collins
f1ed5c1e97 Update documentation
This is a larger update to the documentation than I had planned in this PR but I think makes sense to do it together as so much of it is related.
2020-06-14 03:50:22 +01:00
Iain Collins
5946710fe8 Refactor getProfileFromToken to idToken
This is a minor change to an undocumented feature, but makes sense to rename it while I'm documenting it.
2020-06-14 03:50:22 +01:00
Iain Collins
5cf0056e69 Add script to extract schema from databases 2020-06-14 03:50:22 +01:00
Iain Collins
ac12d6a6e2 Add database drivers as devDependencies for testing 2020-06-14 03:50:22 +01:00
Iain Collins
cc0c15e37c Refactor models and schemas 2020-06-14 03:50:22 +01:00
Iain Collins
9a630dcb01 Rename master branch to main 2020-06-13 19:55:19 +01:00
Iain Collins
d30b112d71 Add getProfileFromToken option 2020-06-12 02:08:43 +01:00
Iain Collins
5fded4256d Add issue templates
Trying to create some structure to get external contributors to think about feature requests and/or provide more information when raising issues.

This is not intended for core committers - I'm just trying to wrangle the input we get to reduce signal to noise, especially as I'm also starting to get emails asking for support now.
2020-06-12 01:06:55 +01:00
Iain Collins
d2fdfa7528 Fix typo in adapter docs 2020-06-12 00:23:25 +01:00
Iain Collins
55c3acab9a Fix for unique emails in MongoDB
The previous approach didn't work at enforcing uniqueness, but have double checked that this approach does.
2020-06-11 13:10:59 +01:00
Iain Collins
dc903f8059 Refactor debug messages in adaptor
Format is now consistant with error logs
2020-06-11 13:10:59 +01:00
Iain Collins
156c8e1e97 Make email addresses optional when signin in 2020-06-11 13:10:59 +01:00