Iain Collins
5c9aaeae43
Set default site name and remove old slug param
...
* Removing the old 'slug' param as it was only used in early beta releases
* No default site name makes it harder to debug when you forget to set it
* Setting it to http://localhost:3000 makes it more obvious when you see it in errors
2020-06-21 17:00:33 +01:00
Iain Collins
0eaec78399
Bump version number for release
2020-06-21 17:00:33 +01:00
Iain Collins
9349ca3b34
Updates to documentation and homepage CSS
2020-06-21 16:20:38 +01:00
Iain Collins
52f2dd5c32
Add JS wrapper to CSS to support Serverless target
...
Resolves #281
2020-06-21 15:07:01 +01:00
Iain Collins
6eeed21872
Merge branch 'main' of github.com:iaincollins/next-auth into main
2020-06-21 11:23:32 +01:00
Iain Collins
929a7e5840
Fix broken links in documentation
2020-06-21 11:23:27 +01:00
Iain Collins
758b3a88d0
Update beta version to 85
2020-06-21 04:43:13 +01:00
Iain Collins
4477bd6c80
Remove session payload from triggers
...
Each message trigger needs a unique payload but we don't have to pass the session data.
It would not be terrible to pass the session data, but persisting it in localStorage is likely cause confusion and makes it easier for third party scripts to scrape.
2020-06-21 04:43:13 +01:00
Iain Collins
370d2cc121
Update documentation
2020-06-21 04:43:13 +01:00
Iain Collins
e6c4d6e737
Add session sync across windows/tabs
...
Uses the localStorage API to trigger events across tabs, as is more widely supported than the broadcast API.
2020-06-21 04:43:13 +01:00
SabariVig
5bd2936b90
Added Providers To Sidebar
2020-06-21 02:37:17 +01:00
Iain Collins
41b6bb7000
Fix linter errors
2020-06-21 02:32:03 +01:00
Iain Collins
fd8818c400
Add callbackUrl option to client methods
...
Resolves #208
Also address fetchData not returning a promise when it should.
2020-06-21 02:26:34 +01:00
Iain Collins
5929de4249
Remove babel-preset-minify
...
It made debugging harder and I don't think it's currently worth the tradeoff.
In future we might bring it back conditionally (e.g. prod builds only).
2020-06-21 01:54:18 +01:00
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