Commit Graph

16 Commits

Author SHA1 Message Date
Khue Nguyen
dca5d4b757 added protocol check 2018-02-04 17:22:20 -08:00
Iain Collins
1450649439 Updating example package version number 2018-02-02 18:04:52 +00:00
Iain Collins
afcae75aaf Now passes oAuth profile to insert() and update()
The oAuth profile for a service is now passed to update() and insert() when signing in via oAuth (or linking accounts).

e.g. `update(user, oAuthProfile)` and `insert(user, oAuthProfile)`

This provides a way to also capture oAuth provider specific fields, such as avatar, location, organisation, etc. as needed.

Thanks to @gielcobben for raising this.
2018-02-02 18:04:13 +00:00
Iain Collins
5fe3f09d47 Adding additional objects to NextAuth response
This makes it easier to access properties after loading NexAuth.
2018-01-30 06:46:33 +00:00
Iain Collins
ff23eba4a4 Updating email config example
Now sends mail directly from localhost if no mail server configured.

This is not recommended for production but can be useful for testing.
2018-01-30 06:25:37 +00:00
Iain Collins
e6c5b06285 MInor typo corrections 2018-01-29 03:08:36 +00:00
Iain Collins
5d28116acc Adding documentation for the example site 2018-01-28 11:05:16 +00:00
Iain Collins
9cad8e7ab8 Improving documentation 2018-01-28 09:01:55 +00:00
Iain Collins
85f5b262c1 Improved documentation and examples 2018-01-28 08:32:19 +00:00
Iain Collins
c2480fde85 Fixing bug with displaying linked accounts
Linked account information was sometimes displayed incorrectly.

This has been fixed, and error handling tightened up to reduce errors.
2018-01-27 15:08:32 +00:00
Iain Collins
b905c856e4 Adding body-parser to package.json 2018-01-27 14:42:24 +00:00
Iain Collins
021a16ea10 Improving documentation 2018-01-27 13:09:19 +00:00
Iain Collins
803736ad0c Adding documentation 2018-01-27 13:01:02 +00:00
Iain Collins
57df0378f1 Removing build dir
Commited by accident
2018-01-27 12:41:28 +00:00
Iain Collins
a37fc97a60 Initial commit of next-auth and example 2018-01-27 12:37:30 +00:00
Iain Collins
cc0e2d9366 Initial commit 2018-01-27 12:28:16 +00:00