Dear KrakenD team,
I'm trying config for KrakenD CE V2.6.2 for RND, and I get a trouble with jwk locally file.
My JWT validator in this format:
"auth/validator": {
"alg": "HS256",
"jwk_local_path": "/etc/krakend/jwk.txt",
"secret_url": "value of field kid in jwk.txt",
"cypher_key":"value of file k in jwk.txt",
"operation_debug": true
}
When I start krakend, i get error detail in the below:
[root@am-rabbitmq-01 krakend]# sudo docker run -p 8080:8080 -v "${PWD}:/etc/krakend/" devopsfaith/krakend run -d -c /etc/krakend/krakend.json
Parsing configuration file: /etc/krakend/krakend.json
[KRAKEND] 2024/05/17 - 08:51:36.332 ▶ DEBUG [SERVICE: telemetry/logging] Improved logging started.
[KRAKEND] 2024/05/17 - 08:51:36.332 ▶ INFO Starting KrakenD v2.6.2
[KRAKEND] 2024/05/17 - 08:51:36.333 ▶ INFO Working directory is /etc/krakend
[KRAKEND] 2024/05/17 - 08:51:36.333 ▶ DEBUG [SERVICE: Gin] Debug enabled
[KRAKEND] 2024/05/17 - 08:51:36.333 ▶ INFO Starting the KrakenD instance
[KRAKEND] 2024/05/17 - 08:51:36.333 ▶ DEBUG [ENDPOINT: /test-uat/notification] Building the proxy pipe
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ DEBUG [BACKEND: /api/pushNoti/cafeSonLa] Building the backend pipe
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ DEBUG [ENDPOINT: /test-uat/notification] Building the http handler
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ DEBUG [ENDPOINT: /test-uat/notification][JWTSigner] Signer disabled
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ DEBUG [ENDPOINT: /test-uat/notification][Ratelimit] Rate limit enabled. MaxRate: 50.000000, Capacity: 100
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ WARNING [ENDPOINT: /test-uat/notification][JWTValidator] Unable to parse the configuration: illegal base64 data at input byte 2
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ DEBUG [SERVICE: Gin] Enabling the auto options endpoints
[KRAKEND] 2024/05/17 - 08:51:36.334 ▶ INFO [SERVICE: Gin] Listening on port: 8080
[KRAKEND] 2024/05/17 - 08:51:41.334 ▶ DEBUG [SERVICE: Telemetry] Registering usage stats for Cluster ID j5UkR5xxR1OMZTcxCVi0HZvKogwfRRwMhSFHY27cfsU=
Please help me to solve it.