[#41480] respond with 401 on invalid bearer tokens

- https://community.openproject.org/work_packages/41480
- amend strategy for doorkeeper to react on all bearer tokens
- added ouath request spec for valid, invalid and revoked token
This commit is contained in:
Eric Schubert
2022-04-07 11:03:49 +02:00
parent ea1d9a277a
commit 3e07975584
5 changed files with 107 additions and 9 deletions
+4
View File
@@ -57,6 +57,8 @@ x-op-backend: &backend
services:
backend:
<<: *backend
tty: true
stdin_open: true
command: run-app
ports:
- "3000:3000"
@@ -94,6 +96,8 @@ services:
stop_grace_period: "3s"
volumes:
- "pgdata:/var/lib/postgresql/data"
ports:
- "54322:5432"
environment:
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}