Fabien O'Carroll
de7f5c1383
Updated README to reflect API changes
...
no-issue
2020-09-18 12:42:31 +01:00
Fabien O'Carroll
a208a6c957
Added JWTTokenProvider to preserve functionality
...
no-issue
This allows the magic-link module to be used with the current
functionality with minimal changes
2020-09-18 12:42:31 +01:00
Fabien O'Carroll
37c8c15dd6
Updated magic-link to accept a TokenProvider
...
no-issue
This adds a layer of abstraction between the magic-link module and the
token generation, allowing us to switch out the token generation in the
future, when implementing single use tokens stored in a database
2020-09-18 12:42:31 +01:00
Fabien 'egg' O'Carroll
6957c2725b
Refactored magic-link to be more generic ( #202 )
...
no-issue
This removes the concept of `subject` & `payload` from the function
signatures, making the implementation a little more generic, and less
JWT centric.
We also replace getUserFromToken and getPayloadFromToken with a single
method getDataFromToken, which will contain all the necessary data.
* Updated members-api to use new magic-link module
This updates the usage of magic-link to work with the new interface
* Fixed labels not saving for new members
Due to how bookshelf-relations works, we must fetch the labels before
saving a member, otherwise the labels are all deleted.
* Used a proper class rather than constructor function
This just moves the code to a more modern standard
* Updated methods to be async
This prepares us for a future where token generation and validation may
require access to storage and thus be an asyncronous operation
2020-09-17 15:42:01 +01: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
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
508daa5956
Update dependency @types/jsonwebtoken to v8.5.0
2020-05-13 20:14:37 +00:00
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
280f4ea7cb
Update dependency @types/jsonwebtoken to v8.3.9
2020-04-07 03:15:52 +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
3b4317b988
Update dependency @types/nodemailer to v6.4.0
2020-03-13 05:30:18 +00:00
Renovate Bot
650d578ef8
Update dependency @types/jsonwebtoken to v8.3.8
2020-03-13 04:32:42 +00:00
Renovate Bot
a3f34c5905
Update dependency @types/node to v12.12.30
2020-03-13 02:33:25 +00:00
Rish
cf6b9501ca
Published new versions
...
- @tryghost/magic-link@0.4.1
- @tryghost/members-api@0.15.0
2020-02-12 16:44:08 +05:30
Rishabh Garg
789462aa5f
✨ Added labels to member signup flow ( #124 )
...
no issue
refs https://github.com/TryGhost/Ghost/pull/11538
2020-02-12 16:42:49 +05:30
Nazar Gargol
6de6a15376
Published new versions
...
- @tryghost/magic-link@0.4.0
- @tryghost/members-api@0.14.0
2020-02-06 18:04:18 +08:00
Naz
2a51a478fc
Exposed getMagicLink method ( #123 )
...
refs https://github.com/TryGhost/Ghost/pull/11573
- Adds `getMagicLink` method to members-api which can be used to generate a signin link for the member
2020-02-06 17:08:39 +08: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