Commit Graph

2455 Commits

Author SHA1 Message Date
Iain Collins
c712d7da07 Remove base URL cookie; no longer needed 2020-06-24 01:26:07 +01:00
Iain Collins
5183181d1c Refactor client to allow provider to be passed options 2020-06-24 01:26:07 +01:00
Iain Collins
b024f89ba8 Update client max age documentation 2020-06-24 01:26:07 +01:00
Iain Collins
fbbe516b9a Refactor client to take configuraiton from _app.js 2020-06-24 01:26:07 +01:00
Iain Collins
d48a3fd948 Rename internal debug env var for consistancy
This is a naughty global used server side to more easily facilitate debugging.
2020-06-24 01:26:07 +01:00
ndo@$(hostname)
86f0c53bd3 add: npm publish workflow 2020-06-24 01:19:51 +01:00
Onur
7f6cc2048b Minor typo fix 2020-06-24 00:00:09 +01:00
Lori Karikari
b2829f6384 added missing comma to homepage example 2020-06-23 18:33:59 +02:00
Iain Collins
67c5041860 Remove console.log from auth0 provider 2020-06-23 13:00:25 +01:00
Lori Karikari
33df9e3132 updated Cognito (#307) 2020-06-23 11:40:18 +02:00
Lori Karikari
602bc28a45 Add new OAuth providers (#221) 2020-06-23 11:31:18 +02:00
jose-donato
5a7a494701 typo v2.0.1 2020-06-23 00:34:44 +01:00
Iain Collins
9fa82cedbd Fix Auth0 provider
Resolves #301
2020-06-23 00:13:55 +01:00
Iain Collins
b0408284b8 Tweak homepage CSS 2020-06-21 17:30:43 +01:00
Iain Collins
388a1c4393 Remove references to beta URLS from docs v2.0 2020-06-21 17:00:33 +01:00
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