Commit Graph

2126 Commits

Author SHA1 Message Date
ndo@ndo3
bdafc4a2f7 add: meta images / descriptions 2020-06-06 01:52:36 +01:00
Iain Collins
bdb1216119 Fix broken logo src 2020-06-06 01:52:36 +01:00
Iain Collins
e509c28a4f Update docs, mostly for custom pages 2020-06-06 01:52:36 +01:00
Iain Collins
4f5954938a Add logo 2020-06-06 01:52:36 +01:00
mdemin914
267a166895 adding support for Okta as a provider (#213) 2020-06-05 22:55:48 +02:00
Iain Collins
e655e3c550 Update client.md 2020-06-04 23:52:32 +01:00
Iain Collins
6ea00f44dd Update example for session() 2020-06-04 23:10:29 +01:00
Seva Maltsev
843c258dd3 Update client.md (#204)
Added example of using session for api routes
2020-06-04 16:21:46 +02:00
Iain Collins
c6c94b1805 Remove oudated information from CONTRIBUTING.md 2020-06-03 22:06:59 +01:00
Iain Collins
315d75e40b Fix bug parsing hostname from database URL
Resolves #200
2020-06-03 22:01:37 +01:00
Iain Collins
f8bfe0c613 Fix bug linking accounts when using JWT with Mongo
Resolves #198
2020-06-03 18:31:06 +01:00
Iain Collins
50b9743bb6 HOTFIX for incorrect params to createSession
Resolves #197
2020-06-03 09:14:51 +01:00
Iain Collins
9c9abf19a3 Update introduction.md 2020-06-03 05:02:27 +01:00
Iain Collins
51f9f6fe6f Update contributors.md 2020-06-03 04:59:12 +01:00
Iain Collins
0c2c4cab69 Add JWT docs and update other docs 2020-06-03 04:41:43 +01:00
Iain Collins
ceb35cd036 Add JWT session support
* Now has jwt and jwtSecret options
* Set jwt: true to use JWT instead of DB for session
* Enable 'debug: true' to log JWT_SESSION_TOKEN to console if you want to see what it contains
* Magical!
2020-06-03 04:41:43 +01:00
Iain Collins
f9d0719ec4 Fix sessionExpiry on updateSession 2020-06-03 04:41:43 +01:00
Iain Collins
40f36e5ee9 Improve note on client API docs 2020-06-01 18:30:33 +01:00
Iain Collins
e9903d5391 Add documentation about provider client method 2020-06-01 18:22:27 +01:00
Gerald Nolan
a5bc38e61c Updated apple.md (#194)
Convert .k8 to single line to use as environment variable
Added additional comments on how to generate local certificate/edit host file
2020-06-01 19:19:57 +02:00
Iain Collins
6df7322493 Fix bug in Apple provider 2020-06-01 17:48:06 +01:00
Iain Collins
0495057458 Fix bug in VerificationRequest schema 2020-06-01 17:48:06 +01:00
Iain Collins
8a2ee7cbce HOTFIX CSS on signin page in Chome 2020-06-01 13:33:52 +01:00
Iain Collins
a465e2cda8 Improve styling on built-in pages
Improved font usage and button apperance.
2020-06-01 13:24:11 +01:00
Iain Collins
81c22f81ca Bump beta version number 2020-06-01 12:24:45 +01:00
Jibin George
4e4457f3ce Typo fix 2020-06-01 12:23:14 +01:00
Iain Collins
e993bc4f2a Bump beta version number 2020-06-01 04:03:44 +01:00
Iain Collins
c4fe49b0af Update Apple and Email provider docs 2020-06-01 04:03:44 +01:00
Iain Collins
5f211c8d0a Update advanced and basic options docs 2020-06-01 04:03:44 +01:00
Iain Collins
3e41381a52 Update next auth client documentation 2020-06-01 04:03:44 +01:00
Iain Collins
93488846e2 Refactor check-email page as verify-request
This allows the API surface to be more consistent
2020-06-01 04:03:44 +01:00
Iain Collins
9609d44638 Tell ESLint to ignore docs theme files 2020-06-01 04:03:44 +01:00
Iain Collins
59403ec607 Refactor Apple provider to genereate secret dynamically
See #176
2020-06-01 02:20:29 +01:00
Iain Collins
5f0f403b50 Refactor emailVerification to verificationRequest
Changes to verification model mean it can be used for other kinds of verification requests when credentials flow is implemented.

e.g. can support verification via SMS or an app.

Also includes minor update to account model.
2020-06-01 01:54:13 +01:00
Iain Collins
fdae191116 Fix linting and minor bug in client 2020-06-01 01:54:13 +01:00
Iain Collins
15424d2d03 Fix bug with callbackUrls not being passed to custom pages 2020-06-01 01:54:13 +01:00
Iain Collins
9d2d7133a1 Bump beta version number 2020-06-01 01:06:44 +01:00
Iain Collins
f50013899a Preserve callback URL on custom signin and signout pages 2020-06-01 01:06:44 +01:00
Iain Collins
beb2d08260 Add signin and signout methods to client
* Using method preserves current URL on signin / signout
* Reloads browser window once complete to force session update

The force reload behaviour may change to something more graceful in future, but is good for now as ensure page state is correct.
2020-06-01 01:06:44 +01:00
Iain Collins
b39d491df3 Rename tests dir to test (more conventional) 2020-06-01 01:06:44 +01:00
Iain Collins
7560d4ba80 Add new methods to client 2020-06-01 01:06:44 +01:00
Iain Collins
e90244b167 Adding to documentation
* Added REST API docs to sidebar
* Added documentation for the Apple Provider (WIP)
* Added clarity to documentation of options
* Added links to footer
2020-05-31 16:16:28 +01:00
Jibin George
a72aef7a86 clientSecret is required for Auth0
Seems like `clientSecret` is mandatory for Auth0 Provider.
2020-05-31 16:14:47 +01:00
Iain Collins
39e97c3b96 Restructure and extend documentation
Includes some minor tweaks to options to match documentation (non breaking changes).
2020-05-31 05:15:39 +01:00
Jibin George
e7d7a7ccab update 2020-05-30 19:41:25 +01:00
Jibin George
8b173efe96 Fix Provider component import path 2020-05-30 19:41:25 +01:00
Gerald Nolan
f53a7f3b85 Fixed Lint Issues 2020-05-27 14:30:15 +01:00
Gerald Nolan
62f5d7ebe1 Refactor -> Remove oauth-apple 2020-05-27 14:30:15 +01:00
Gerald Nolan
fd6fceb884 Sign In with Apple 2020-05-27 14:30:15 +01:00
Lori Karikari
74a5f459f5 Some cleanup (#173)
* shortened some long urls

* some fixes in text
2020-05-26 22:22:05 +02:00