feat(api): API tokens for authentication

Create and managed simple API tokens for access to the API from external
tools.
This commit is contained in:
Julian Tölle 2023-02-19 16:16:34 +01:00
parent eda89716ef
commit 8f7eebb806
15 changed files with 614 additions and 154 deletions

View file

@ -67,6 +67,7 @@
"nestjs-pino": "3.1.2",
"nestjs-typeorm-paginate": "4.0.3",
"passport": "0.6.0",
"passport-http-bearer": "^1.0.1",
"passport-jwt": "4.0.1",
"passport-spotify": "2.0.0",
"pg": "8.8.0",
@ -87,6 +88,7 @@
"@types/jest": "29.2.5",
"@types/long": "4.0.2",
"@types/node": "18.11.19",
"@types/passport-http-bearer": "^1.0.37",
"@types/passport-jwt": "3.0.8",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.48.1",