update JWT handling for external services

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-08-28 22:37:20 +02:00
parent 2566897b06
commit efd6be775e
5 changed files with 101 additions and 7 deletions

View File

@@ -35,15 +35,23 @@ spring:
filters:
- name: GCPGatewayFilter
args:
audience: firmware-hq
audience: ${TIMEZONE_SERVICE_URI:http://timezone-service}
- id: backend-service
- id: account-service
uri: ${BACKEND_SERVICE_URI:http://backend-service}
predicates:
- Path=/v1/account/**
- Path=/v1/token/**
filters:
#- AuthGatewayFilter
- name: GCPGatewayFilter
args:
audience: firmware-hq
audience: ${BACKEND_SERVICE_URI:http://backend-service}
- id: token-service
uri: ${BACKEND_SERVICE_URI:http://backend-service}
predicates:
- Path=/v1/token/**
filters:
- AuthGatewayFilter
- name: GCPGatewayFilter
args:
audience: ${BACKEND_SERVICE_URI:http://backend-service}