Ghost/core/server
Fabien O'Carroll d246a4761e Implemented externally verifiable identity tokens
no-issue

This adds two new endpoints, one at /ghost/.well-known/jwks.json for exposing
a public key, and one on the canary api /identities, which allows the
Owner user to fetch a JWT.

This token can then be used by external services to verify the domain

* Added ghost_{public,private}_key settings

    This key can be used for generating tokens for communicating with
    external services on behalf of Ghost

* Added .well-known directory to /ghost/.well-known

    We add a jwks.json file to the .well-known directory which exposes a
    public JWK which can be used to verify the signatures of JWT's created
    by Ghost

    This is added to the /ghost/ path so that it can live on the admin
    domain, rather than the frontend. This is because most of its
    uses/functions will be in relation to the admin domain.

* Improved settings model tests

    This removes hardcoded positions in favour of testing that a particular
    event wasn't emitted which is less brittle and more precise about what's
    being tested

* Fixed parent app unit tests for well-known

    This updates the parent app unit tests to check that the well-known
    route is mounted. We all change proxyquire to use `noCallThru` which
    ensures that the ubderlying modules are not required. This stops the
    initialisation logic in ./well-known erroring in tests

https://github.com/thlorenz/proxyquire/issues/215

* Moved jwt signature to a separate 'token' propery

    This structure corresponds to other resources and allows to exptend with
    additional properties in future if needed
2020-03-16 13:22:04 +01:00
..
adapters Handled permissions error in file storage adapter 2020-03-11 13:27:27 +00:00
api Implemented externally verifiable identity tokens 2020-03-16 13:22:04 +01:00
config 🐛 Fixed csv file uploads on Windows w/Excel installed 2019-11-26 15:11:05 +00:00
data Implemented externally verifiable identity tokens 2020-03-16 13:22:04 +01:00
lib 🐛 Fixed "undefined" values in member csv export 2020-02-12 11:03:16 +05:30
models Implemented externally verifiable identity tokens 2020-03-16 13:22:04 +01:00
public Added minified members.js file handling 2020-02-26 14:08:10 +08:00
services 🐛 Fixed missing publication icon in newsletter emails 2020-03-12 09:52:54 +05:30
translations Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Implemented externally verifiable identity tokens 2020-03-16 13:22:04 +01:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js Merge branch 'master' into mega 2019-11-18 11:09:46 +00:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
sentry.js Added captureException helper to Sentry integration 2020-03-04 13:42:30 +00:00
update-check.js Added site URL to Update Check body 2020-03-09 09:48:04 +00:00