Renovate Bot
e4109e38f3
Update dependency sinon to v11.1.2
2021-07-28 13:54:56 +00:00
Renovate Bot
102568a72a
Update dependency mocha to v9.0.3
2021-07-27 04:36:33 +00:00
Fabien O'Carroll
19ae16590d
Published new versions
...
- @tryghost/members-ssr@1.0.8
2021-07-20 10:24:31 +01:00
Fabien O'Carroll
ae9bad957b
Fixed _removeSessionCookie method use of cookies
...
refs https://github.com/TryGhost/Team/issues/908
The `cookies` module will unset a cookie if `null` or `undefined` is
passed as the value, or if the value is not passed. The previous call
was passing the options, which were being read as the value, and
resulting in `'[Object object]'` being stored as a cookie.
Explicitly passing `null` as the value makes this code correct and
easier to maintain.
2021-07-20 10:19:39 +01:00
Fabien O'Carroll
ceec3efe6a
Published new versions
...
- @tryghost/magic-link@1.0.7
- @tryghost/members-api@1.20.3
- @tryghost/members-ssr@1.0.7
2021-07-15 18:19:11 +01:00
Fabien O'Carroll
ac3177e0bb
Fixed require paths and top level js files
...
no-issue
We only include index.js and lib in npm packages.
2021-07-15 18:15:49 +01:00
Fabien O'Carroll
d59051c104
Published new versions
...
- @tryghost/magic-link@1.0.6
- @tryghost/members-api@1.20.0
- @tryghost/members-csv@1.1.2
- @tryghost/members-ssr@1.0.6
2021-07-15 16:34:02 +01:00
Fabien O'Carroll
3e1084905e
Removed usage of raw Error class
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 14:17:38 +01:00
Fabien O'Carroll
004c7d2739
Moved MembersSSR out of index.js
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 14:17:38 +01:00
Renovate Bot
223ee56647
Update Test & linting packages
2021-07-14 14:12:12 +01:00
Fabien O'Carroll
4f660554eb
Fixed linting issues for members-ssr example
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 12:05:10 +01:00
Fabien O'Carroll
6083e4825f
Removed trailing commas from .eslintrc.js
...
refs https://github.com/TryGhost/Team/issues/879
2021-07-14 12:04:46 +01:00
Fabien O'Carroll
7545e67f2c
Published new versions
...
- @tryghost/magic-link@1.0.5
- @tryghost/members-api@1.18.0
- @tryghost/members-csv@1.1.1
- @tryghost/members-ssr@1.0.5
2021-07-06 11:18:01 +01:00
Daniel Lockyer
21ec26ea08
Removed used of ghost-ignition
dependency
...
no issue
- we're killing off `ghost-ignition` in favor of explicit packages
containing its individual components
- this commit switches the Members repo to using the
`@tryghost/ignition-errors` and `@tryghost/debug` dependencies,
updates the code with relevant changes and removes the `ghost-ignition`
dependency
2021-06-29 21:43:05 +01:00
Fabien O'Carroll
45c3de71d6
Published new versions
...
- @tryghost/magic-link@1.0.4
- @tryghost/members-api@1.15.0
- @tryghost/members-ssr@1.0.4
2021-06-16 18:25:48 +01:00
Renovate Bot
f6e12a3da7
Update dependency ghost-ignition to v4.6.3
2021-06-15 18:28:07 +00:00
Fabien O'Carroll
bac55fcfb7
Published new versions
...
- @tryghost/magic-link@1.0.3
- @tryghost/members-api@1.11.0
- @tryghost/members-ssr@1.0.3
2021-05-24 10:34:04 +01:00
Renovate Bot
bf89907d33
Update dependency @types/cookies to v0.7.6
2021-05-24 10:26:15 +01:00
Renovate Bot
5497aadb62
Update dependency keypair to v1.0.3
2021-05-24 10:25:55 +01:00
Renovate Bot
324c008d3a
Update dependency @types/node to v14
2021-05-24 10:21:52 +01:00
Rish
25a1f7d0b4
Published new versions
...
- @tryghost/magic-link@1.0.2
- @tryghost/members-api@1.3.0
- @tryghost/members-ssr@1.0.2
2021-04-20 17:23:04 +05:30
Renovate Bot
bd3b3738e5
Update dependency ghost-ignition to v4.6.2
2021-04-19 05:22:28 +00:00
Rish
6a05d55e5d
Published new versions
...
- @tryghost/magic-link@1.0.1
- @tryghost/members-api@1.1.1
- @tryghost/members-ssr@1.0.1
2021-04-06 18:44:44 +05:30
Renovate Bot
d5c893ca5b
Update dependency ghost-ignition to v4.6.1
2021-03-31 14:45:04 +00:00
Fabien O'Carroll
0629791824
Published new versions
...
- @tryghost/magic-link@1.0.0
- @tryghost/members-api@1.0.0
- @tryghost/members-csv@1.0.0
- @tryghost/members-ssr@1.0.0
2021-03-10 17:23:30 +00:00
Renovate Bot
5506406dbf
Update dependency ghost-ignition to v4.5.4
2021-03-08 02:15:38 +00:00
Fabien O'Carroll
0d97bd7dd6
Published new versions
...
- @tryghost/magic-link@0.6.7
- @tryghost/members-api@0.37.10
- @tryghost/members-ssr@0.8.11
2021-02-22 14:02:54 +00:00
Renovate Bot
6a7aaf0397
Update dependency ghost-ignition to v4.4.4
2021-02-19 21:24:49 +00:00
Rish
8b3cd5499c
Published new versions
...
- @tryghost/magic-link@0.6.6
- @tryghost/members-api@0.37.7
- @tryghost/members-ssr@0.8.10
2021-02-01 10:25:11 +05:30
Renovate Bot
f823334b15
Update dependency ghost-ignition to v4.4.3
2021-01-28 17:28:39 +00:00
Fabien O'Carroll
8d9340534d
Published new versions
...
- @tryghost/magic-link@0.6.5
- @tryghost/members-api@0.37.4
- @tryghost/members-csv@0.4.3
- @tryghost/members-ssr@0.8.9
2021-01-26 12:02:58 +00:00
John O'Nolan
0e0b2f3cb2
2021
2021-01-25 16:34:32 +00:00
Fabien O'Carroll
c885e024ae
Published new versions
...
- @tryghost/magic-link@0.6.4
- @tryghost/members-api@0.37.3
- @tryghost/members-ssr@0.8.8
2021-01-25 13:21:34 +00:00
Renovate Bot
40ef97e6d3
Update dependency ghost-ignition to v4.4.2
2021-01-25 01:37:03 +00:00
Fabien O'Carroll
07fea2c68c
Published new versions
...
- @tryghost/magic-link@0.6.3
- @tryghost/members-api@0.37.0
- @tryghost/members-csv@0.4.2
- @tryghost/members-ssr@0.8.7
2021-01-18 16:51:19 +00:00
Renovate Bot
af13570076
Update dependency ghost-ignition to v4.3.0
2021-01-14 17:05:36 +00:00
Fabien O'Carroll
bd1173ef9f
Published new versions
...
- @tryghost/magic-link@0.6.2
- @tryghost/members-api@0.35.0
- @tryghost/members-csv@0.3.3
- @tryghost/members-ssr@0.8.6
2020-11-23 16:53:10 +00:00
Renovate Bot
5879193940
Update dependency ghost-ignition to v4.2.4
2020-11-05 12:04:34 +00:00
Renovate Bot
a4d2dcaa8c
Update dependency ghost-ignition to v4.2.3
2020-11-02 01:05:58 +00:00
Daniel Lockyer
85800c57f7
Published new versions
...
- @tryghost/magic-link@0.4.13
- @tryghost/members-api@0.25.2
- @tryghost/members-ssr@0.8.5
2020-08-11 09:10:32 +01:00
Daniel Lockyer
56ef95c397
Updated ghost-ignition dependency
...
- this will resolve the lodash warnings when running `yarn audit`
2020-08-11 09:08:54 +01:00
Fabien O'Carroll
20e3b6cc8a
Published new versions
...
- @tryghost/magic-link@0.4.12
- @tryghost/members-api@0.25.0
- @tryghost/members-ssr@0.8.4
2020-07-24 13:48:27 +02:00
Renovate Bot
8137d5aa72
Update dependency mocha to v6.2.3
2020-07-23 13:04:38 +00:00
Fabien O'Carroll
9dc22b2bb2
Published new versions
...
- @tryghost/magic-link@0.4.11
- @tryghost/members-api@0.24.1
- @tryghost/members-ssr@0.8.3
2020-07-21 12:02:36 +02:00
Renovate Bot
f94f1bc107
Update dependency @types/node to v12.12.51
2020-07-20 22:51:48 +00:00
Renovate Bot
cd2a8511c8
Update dependency @types/node to v12.12.50
2020-07-10 17:06:24 +00:00
renovate[bot]
0687210bfc
Update dependency ghost-ignition to v4 ( #108 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-10 16:36:33 +02:00
Renovate Bot
be854f4c59
Update dependency @types/node to v12.12.49
2020-07-10 14:04:19 +00:00
Nazar Gargol
5b909735fd
Published new versions
...
- @tryghost/magic-link@0.4.10
- @tryghost/members-api@0.23.1
- @tryghost/members-csv@0.2.1
- @tryghost/members-ssr@0.8.2
2020-07-08 20:23:05 +12:00
Renovate Bot
587c95b0d0
Update dependency @types/node to v12.12.48
2020-07-06 22:13:49 +00:00
Rish
a136e5f839
Published new versions
...
- @tryghost/magic-link@0.4.9
- @tryghost/members-api@0.20.1
- @tryghost/members-ssr@0.8.1
2020-06-10 16:32:14 +05:30
Renovate Bot
ec81ccfbeb
Update dependency @types/node to v12.12.47
2020-06-09 22:59:06 +00:00
Renovate Bot
7fbe60c104
Update dependency @types/node to v12.12.46
2020-06-09 18:18:20 +00:00
Renovate Bot
4761601219
Update dependency @types/node to v12.12.45
2020-06-08 20:22:23 +00:00
Renovate Bot
937584f290
Update dependency @types/node to v12.12.44
2020-06-04 23:18:43 +00:00
Kevin Ansfield
88146dc3a3
Published new versions
...
- @tryghost/magic-link@0.4.8
- @tryghost/members-api@0.20.0
- @tryghost/members-ssr@0.8.0
2020-06-04 13:27:14 +01:00
Kevin Ansfield
bf63ffe424
Moved members geolocation fetch/update into members-ssr ( #151 )
...
closes https://github.com/TryGhost/Members/issues/148
- geolocation was not being fetched/stored for paid member signup
- magic link was being sent after Stripe webhook but we don't have an IP at that stage
- it only worked when a magic link was requested by the browser
- moved the geolocation fetch/update to `members-ssr`
- kept the ip geolookup and storage inside `members-api` but exposed it as a method so consumers are able to choose when it's performed
- used the new api method in `members-ssr` when exchanging a token from the session as that is always driven by browser requests so we know we have an IP and it's likely the correct one (reliant on consumers having "trust proxy" config correct)
- stopped storing IP addresses in the token payload (keeps links shorter)
2020-06-04 13:20:19 +01:00
Renovate Bot
141be65d5e
Update dependency @types/node to v12.12.43
2020-06-02 00:38:29 +00:00
Daniel Lockyer
730ddc2ae6
Published new versions
...
- @tryghost/magic-link@0.4.7
- @tryghost/members-api@0.18.7
- @tryghost/members-ssr@0.7.10
2020-05-25 13:11:54 +01:00
Renovate Bot
be5568682a
Update dependency @types/node to v12.12.42
2020-05-21 22:17:43 +00:00
Rish
ce72aa40a0
Published new versions
...
- @tryghost/magic-link@0.4.6
- @tryghost/members-api@0.18.5
- @tryghost/members-ssr@0.7.9
2020-05-20 14:34:40 +05:30
Renovate Bot
01de256cc4
Update dependency @types/node to v12.12.41
2020-05-20 01:15:38 +00:00
Renovate Bot
92fd95c08a
Update dependency @types/node to v12.12.40
2020-05-19 20:15:56 +00:00
Rish
23e343d3b4
Published new versions
...
- @tryghost/magic-link@0.4.5
- @tryghost/members-api@0.18.4
- @tryghost/members-ssr@0.7.8
2020-05-19 22:03:56 +05:30
Renovate Bot
aa44de5d91
Update dependency @types/node to v12.12.39
2020-05-13 02:16:27 +00:00
Renovate Bot
61a630e6d2
Update dependency @types/node to v12.12.38
2020-05-05 20:15:38 +00:00
Rish
ef9fa8e623
Published new versions
...
- @tryghost/magic-link@0.4.4
- @tryghost/members-api@0.18.3
- @tryghost/members-ssr@0.7.7
2020-04-30 16:08:09 +05:30
Renovate Bot
13a1ff1451
Update dependency @types/node to v12.12.37
2020-04-22 03:15:54 +00:00
Rish
66e106e3ac
Published new versions
...
- @tryghost/magic-link@0.4.3
- @tryghost/members-api@0.18.2
- @tryghost/members-ssr@0.7.6
2020-04-21 15:32:00 +05:30
Renovate Bot
dbb041e214
Update dependency @types/node to v12.12.36
2020-04-17 21:38:50 +00:00
Nazar Gargol
07cb94d57e
Published new versions
...
- @tryghost/magic-link@0.4.2
- @tryghost/members-api@0.18.1
- @tryghost/members-ssr@0.7.5
2020-04-17 14:09:59 +12:00
Renovate Bot
5d687a3548
Update dependency @types/node to v12.12.35
2020-04-08 20:35:00 +00:00
Renovate Bot
09f79b10ac
Update dependency @types/node to v12.12.34
2020-03-31 00:07:17 +00:00
Renovate Bot
d6897df163
Update dependency @types/node to v12.12.33
2020-03-30 23:20:06 +00:00
Renovate Bot
aa086e8728
Update dependency @types/node to v12.12.32
2020-03-27 18:15:22 +00:00
Renovate Bot
65d1040aad
Update dependency @types/node to v12.12.31
2020-03-25 07:18:47 +00:00
Renovate Bot
a3f34c5905
Update dependency @types/node to v12.12.30
2020-03-13 02:33:25 +00:00
Nazar Gargol
911d5a27fe
Published new versions
...
- @tryghost/magic-link@0.3.3
- @tryghost/members-api@0.11.0
- @tryghost/members-ssr@0.7.4
2020-01-13 15:54:59 +07:00
John O'Nolan
a122aa0119
2020
2020-01-07 19:06:08 +00:00
Fabien O'Carroll
9da1a18770
Published new versions
...
- @tryghost/magic-link@0.3.2
- @tryghost/members-api@0.9.0
- @tryghost/members-ssr@0.7.3
2019-11-05 18:22:07 +07:00
Renovate Bot
2ce0c5a992
Update Test & linting packages
2019-11-01 13:40:10 +07:00
Renovate Bot
7684ad51c4
Update Node.js to 12
2019-11-01 13:40:00 +07:00
Fabien O'Carroll
a35d947413
Published new versions
...
- @tryghost/magic-link@0.3.1
- @tryghost/members-api@0.8.3
- @tryghost/members-ssr@0.7.2
2019-10-30 15:24:07 +07:00
Renovate Bot
f233d5fc71
Update dependency cookies to ^0.8.0
2019-10-14 12:38:53 +07:00
Renovate Bot
97c9567744
Update dependency @types/node to v12.7.12
2019-10-14 12:38:19 +07:00
Fabien O'Carroll
123fc7dcd5
Published new versions
...
- @tryghost/members-ssr@0.7.1
2019-10-11 18:01:21 +07:00
Fabien O'Carroll
2a90d84e9a
Added flag for disabling sign cookies
...
no-issue
2019-10-11 18:00:19 +07:00
Fabien O'Carroll
2c4732b46d
Published new versions
...
- @tryghost/magic-link@0.2.1
- @tryghost/members-api@0.8.0
- @tryghost/members-ssr@0.7.0
2019-10-09 10:51:35 +07:00
Fabien O'Carroll
e6c8f77d4e
Removed cookie based caching
...
no-issue
This was just a temporary stopgap. The correct solution is to cache in the backend
2019-10-09 10:46:55 +07:00
Renovate Bot
baee3ad0ac
Update dependency @types/node to v12.7.11
2019-10-08 18:19:58 +07:00
Renovate Bot
56c892e7ed
Update dependency @types/cookies to v0.7.4
2019-10-08 14:34:19 +07:00
Fabien O'Carroll
88832fa923
Published new versions
...
- @tryghost/members-api@0.7.5
- @tryghost/members-ssr@0.6.0
2019-10-02 18:21:10 +07:00
Fabien O'Carroll
d02bab7ea8
Made sure we throw an error for invalid session
...
no-issue
2019-10-02 18:19:39 +07:00
Fabien O'Carroll
5170c7c1d4
Published new versions
...
- @tryghost/magic-link@0.1.4
- @tryghost/members-api@0.6.2
- @tryghost/members-ssr@0.5.2
2019-10-01 11:21:07 +07:00
Fabien O'Carroll
957a0df658
Ensured falsy values not returned from cache cookie
...
no-issue
2019-09-30 12:10:29 +07:00
Fabien O'Carroll
ab4493db5f
Ensured falsy values are not set as cookies
...
no-issue
2019-09-30 12:10:29 +07:00
Renovate Bot
0a0caca573
Update dependency @types/node to v12.7.8
2019-09-30 11:20:50 +07:00
Renovate Bot
f404e2bd1a
Update dependency @types/cookies to v0.7.3
2019-09-30 02:32:14 +00:00
Renovate Bot
ab023e1df9
Update Test & linting packages
2019-09-30 01:35:30 +00:00
Fabien O'Carroll
ff0dc6a168
Published new versions
...
- @tryghost/magic-link@0.1.3
- @tryghost/members-api@0.6.0
- @tryghost/members-ssr@0.5.1
2019-09-25 17:13:00 +07:00
Renovate Bot
82346ef67b
Pin dependencies
2019-09-24 12:18:18 +07:00
Fabien O'Carroll
58cb25fe86
Published new versions
...
- @tryghost/magic-link@0.1.2
- @tryghost/members-api@0.5.3
- @tryghost/members-browser-auth@0.2.3
- @tryghost/members-gateway-api@0.1.7
- @tryghost/members-ssr@0.5.0
- @tryghost/members-theme-bindings@0.2.6
2019-09-16 14:01:13 +08:00
Fabien O'Carroll
49380c3dc4
Updated README for new members-ssr API
...
no-issue
2019-09-16 14:00:00 +08:00
Fabien O'Carroll
667061676b
Updated example.js to reflect new API
...
no-issue
2019-09-16 13:58:05 +08:00
Fabien O'Carroll
016422ce06
Updated members-ssr to use token from query string
...
no-issue
This changes the exchangeTokenForSession method to read the token from a
`token` query string, rather than from the request body.
This also includes a refactor to change MembersSSR into a class, and
document all methods with JsDoc type annotations which can be
interpreted by the typescript compiler
2019-09-16 13:58:05 +08:00
Fabien O'Carroll
e2d06307f2
Added tsconfig.json to members-ssr
...
no-issue
2019-09-16 13:58:05 +08:00
Fabien O'Carroll
55eb2e8919
Installed @types/{cookies,node} to members-ssr
...
no-issue
This is for the typescript compiler to give us correct types
2019-09-16 13:58:05 +08:00
Fabien O'Carroll
b834c70559
Published new versions
...
- @tryghost/magic-link@0.1.1
- @tryghost/members-api@0.5.1
- @tryghost/members-auth-pages@1.1.3
- @tryghost/members-browser-auth@0.2.2
- @tryghost/members-gateway-api@0.1.6
- @tryghost/members-gateway-protocol@0.1.4
- @tryghost/members-ssr@0.4.0
- @tryghost/members-theme-bindings@0.2.5
2019-09-09 15:53:10 +08:00
Fabien O'Carroll
458bcf41fa
Stored cached member data in separate cookie
...
no-issue
This allows for simple trusted caching. We can still use the primary
cookie to determine whether or not a session exists, the cached cookie
can safely be deleted or ignored. This is an "progressive enhancement"
on top of the existing solution.
2019-09-09 15:51:20 +08:00
Renovate Bot
84f9e69a50
Update dependency sinon to v7.4.2
2019-09-09 13:57:00 +08:00
Fabien O'Carroll
cb3cedd9df
Published new versions
...
- @tryghost/members-api@0.5.0
- @tryghost/members-ssr@0.3.1
2019-09-06 14:56:19 +08:00
Fabien O'Carroll
198e525d59
Fixed getMemberIdentiyTokenFromSession
...
no-issue
This did not have the cookieConfig passed, so could not correctly parse request
2019-09-06 14:30:27 +08:00
Fabien O'Carroll
33ff98f789
Published new versions
...
- @tryghost/magic-link@0.1.0
- @tryghost/members-api@0.4.0
- @tryghost/members-auth-pages@1.1.1
- @tryghost/members-browser-auth@0.2.1
- @tryghost/members-gateway-api@0.1.5
- @tryghost/members-gateway-protocol@0.1.3
- @tryghost/members-ssr@0.3.0
- @tryghost/members-theme-bindings@0.2.4
2019-09-03 18:25:17 +08:00
Fabien O'Carroll
75a6ccf669
Updated members-ssr to work with members-api
...
no-issue
This updaes the ssr package to work with the new magic link signin method
2019-09-03 15:35:04 +08:00
Renovate Bot
6276c82888
Update dependency sinon to v7.4.1
2019-08-12 05:28:29 +00:00
Renovate Bot
017c24992f
Roll back dependency sinon to 7.3.2
2019-08-12 00:30:26 +00:00
Renovate Bot
b8ae86a8ea
Update dependency sinon to v7.4.0
2019-08-05 01:28:22 +00:00
Renovate Bot
97d34b2aa1
Update dependency mocha to v6.2.0
2019-07-22 01:28:44 +00:00
Fabien O'Carroll
bd5d2a664b
Published new versions
...
- @tryghost/members-ssr@0.2.1
2019-07-17 18:07:35 +08:00
Fabien O'Carroll
21123d4061
Fixed getMemberDataFromSession usage of membersApi
...
no-issue
Since we allow the membersApi to be a thunk - we must wrap all
references to it in a call to get
2019-07-17 18:05:38 +08:00
Fabien O'Carroll
5a4efd2eec
Published new versions
...
- @tryghost/members-ssr@0.2.0
2019-07-17 15:07:16 +08:00
Fabien O'Carroll
942187f48e
Added support for passing thunk for membersApi
...
no-issue
This is to allow support for consumers to dynamically update their
membersApi instance, for example when configuration changes, and not
have to replace the instance of members-ssr
2019-07-17 15:06:20 +08:00
Fabien O'Carroll
8d8c8a69ca
Published new versions
...
- @tryghost/members-ssr@0.1.5
2019-05-06 12:25:45 +02:00
Fabien O'Carroll
7e5733998e
Removed request stream consumption unless required
...
no-issue
This is to avoid the getMemberDataFromCookie helper consuming the
request stream before other handlers can read from it.
2019-05-06 12:23:27 +02:00
Fabien O'Carroll
9f307746ca
Published new versions
...
- @tryghost/members-browser-auth@0.1.1
- @tryghost/members-gateway-api@0.1.2
- @tryghost/members-gateway-protocol@0.1.1
- @tryghost/members-ssr@0.1.4
- @tryghost/members-theme-bindings@0.1.0
2019-04-23 16:47:39 +02:00
Renovate Bot
7187a4e074
Pin dependency keypair to 1.0.1
2019-04-23 10:15:48 +02:00
Renovate Bot
f374362ba5
Update Test & linting packages
2019-04-22 01:29:05 +00:00
Fabien O'Carroll
6aa6da6da0
Published new versions
...
- @tryghost/members-gateway-protocol@0.1.0
- @tryghost/members-ssr@0.1.3
2019-04-18 13:09:32 +02:00
Fabien O'Carroll
e0643344a2
Published new versions
...
- @tryghost/members-ssr@0.1.2
2019-04-18 12:16:29 +02:00
Fabien O'Carroll
766635ab85
Fixed lint task for members-ssr package
2019-04-18 11:40:42 +02:00
Rish
cf7c8df6f7
Published new versions
...
- @tryghost/members-ssr@0.1.1
2019-04-16 19:14:57 +05:30
Rish
a9453604cc
Updated publish config
2019-04-16 19:13:45 +05:30
Rish
8fd78ab221
Published new versions
...
- @tryghost/members-ssr@0.1.0
2019-04-16 18:14:59 +05:30
Fabien O'Carroll
b22d254c12
Updated members-ssr package name
2019-04-16 12:28:58 +02:00
Fabien O'Carroll
de410052dd
Removed lint task for members-ssr
...
no-issue
For some reason this task hangs. Need to fix
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
ae32d3e2b5
Updated README
...
no-issue
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
32e81fb030
Updated example
...
no-issue
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
632fdce8b1
Added deleteSession method
...
no-issue
This will be used for logout
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
8ae95f6d32
Updated to return Promise.reject rather than throw
...
no-issue
This is cleaner IMO
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
eaf163cb9c
Updated to use membersApi iss as expected aud
...
no-issue
This is because we now use specific URLs for audiences claims, e.g. for
members running locally the audience would be:
- http://localhost:2368/ghost/api/v2/members/
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
02468bfe0c
Fixed cookie verification handling
...
no-issue
turns out the get method fails if the cookie is missing, rather than returning null
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
1ee0720ed5
Ran yarn add concat-stream
...
no-issue
Used for getting contents of request stream
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
5c9ed65b06
Added runnable example w/ mock membersApi
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
2e40e253d6
Implemented MVP
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
47f46d5b9b
Added example usage to README
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
e55430c726
Ran yarn add --dev keypair
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
d4a8e3dc1e
Ran yarn add cookies jsonwebtoken
2019-04-16 12:22:55 +02:00
Fabien O'Carroll
803b09664c
Ran slimer new members-ssr
2019-04-16 12:22:55 +02:00