🔒️(backend) add application validation when consuming external JWT

Token generation already verifies that the application is active, but this
guarantee was not enforced when the token was used. This change adds a
runtime check to ensure the client_id claim matches an existing and active
application when evaluating permissions.

This also introduces an emergency revocation mechanism, allowing all previously
issued tokens for a given application to be invalidated if the application is
disabled.
This commit is contained in:
lebaudantoine
2026-02-09 13:48:55 +01:00
committed by aleb_the_flash
parent 6742f5d19d
commit 69c6e58017
3 changed files with 90 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ and this project adheres to
### Fixed
- 🔐(backend) enforce object-level permission checks on room endpoint #959
- 🔒️(backend) add application validation when consuming external JWT #963
## [1.5.0] - 2026-01-28