Add JWT debugging and fix Keycloak networking

- Added JWT authentication event logging to diagnose validation failures
- Fixed docker-compose networking for API to reach Keycloak via hostname
- Debug endpoint now accessible without auth for troubleshooting
- Still investigating why claims are not populated despite token being present
This commit is contained in:
WorkClub Automation
2026-03-20 10:30:10 +01:00
parent 97baf266a8
commit 4ba76288b5
2 changed files with 25 additions and 7 deletions
+2 -6
View File
@@ -70,12 +70,8 @@ services:
ports:
- "5001:8080"
extra_hosts:
- "localhost:host-gateway"
- "127.0.0.1:host-gateway"
networks:
app-network:
aliases:
- keycloak.internal
- "localhost:172.18.0.1"
- "127.0.0.1:172.18.0.1"
working_dir: /app
volumes:
- ./backend:/app:cached