mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +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.
22 lines
301 B
Markdown
22 lines
301 B
Markdown
# Identity Token Service
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
## Develop
|
|
|
|
This is a monorepo package.
|
|
|
|
Follow the instructions for the top-level repo.
|
|
1. `git clone` this repo & `cd` into it as usual
|
|
2. Run `yarn` to install top-level dependencies.
|
|
|
|
|
|
|
|
## Test
|
|
|
|
- `yarn lint` run just eslint
|
|
- `yarn test` run lint and tests
|
|
|