mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
6dc2e7f3fe
refs https://linear.app/ghost/issue/AP-500 The logic for generating identity tokens, whilst small, is something that we don't want to duplicate - as it concerns security & access - so can easily break interactions between different services. We're gonna need to use identity tokens as part of the initialisation of the activitypub service, so this is pulling it out preemptively for that use case We shouldn't have logic inside of the endpoint controllers anyway, so this is kinda general cleanup.
301 B
301 B
Identity Token Service
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests