Commit Graph

2126 Commits

Author SHA1 Message Date
Iain Collins
07c6cbccc0 Update beta version to 83 2020-06-21 01:44:41 +01:00
Iain Collins
f20843fcb1 Use timestamp with time zone Postgres databases 2020-06-21 01:44:41 +01:00
Iain Collins
eb6a7a45a5 Refactort timestamps, add email verified timestamp
* Saves email verified date on user when an email sign in link is used
* All timestamps now use UTC date objects in database
* Stored as UTC regardless of server timezone
* Tested with MySQL and MongoDB
* Investigating issues with Postgres
2020-06-21 01:44:41 +01:00
Iain Collins
75638db676 Bump beta version to 82 2020-06-20 11:58:28 +01:00
Iain Collins
76fcfa53f4 Add new documentation for credentials provider 2020-06-20 11:58:28 +01:00
Iain Collins
708ec9fbe7 Improve sign in page
* Add label to email sign in
* Add support for custom credentials to sign in form
* Add explict error for rejected credentials

Documentation to follow.
2020-06-20 11:58:28 +01:00
Iain Collins
ca98750604 Merge branch 'main' of github.com:iaincollins/next-auth into main 2020-06-20 09:27:36 +01:00
Iain Collins
eb49a47b0a Bump beta version to 81; hotfix for sqlite
Includes hot fix for SQLite transform.

It was not updated to support column name changes.

The fix applies the transform without relying on hard coded values so bug won't happen again.
2020-06-20 09:27:28 +01:00
Iain Collins
ac2fc85d18 Fix linting errors 2020-06-20 08:48:54 +01:00
Iain Collins
4ee2b4453d Refactor IdentityServer4 provider
NB: The ...options spread takes care of conditionally overriding default property values.
2020-06-20 08:48:54 +01:00
Iain Collins
0542b6a24a Add Yandex provider 2020-06-20 08:48:54 +01:00
Iain Collins
ca0053b6cd Add box.com provider
Resolves #242
2020-06-20 08:48:54 +01:00
Iain Collins
a902b98cfd Rename Gitlab to GitLab 2020-06-20 08:48:54 +01:00
SabariVig
99ff0ffd3d Doc Typo 2020-06-20 08:25:45 +01:00
SabariVig
5bb1830c9b Added Documentation for Gitlab 2020-06-20 08:25:45 +01:00
SabariVig
6055ecda24 Added to providers/index.js And link typos in Readme 2020-06-20 08:25:45 +01:00
SabariVig
8229a3b420 Gitlab Provider 2020-06-20 08:25:45 +01:00
Iain Collins
20723fd2b4 Update mongodb test 2020-06-20 08:23:02 +01:00
Iain Collins
31d9363954 Update schema fixtures and docs 2020-06-20 08:23:02 +01:00
Iain Collins
515facf39f Add support for mongodb+srv URLs 2020-06-20 08:23:02 +01:00
Lori Karikari
173ce2aae6 [docs] update custom page signin() value
Changed docs to use the provider id instead of the provider object as shown in #284
2020-06-19 17:20:12 +02:00
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