Hey!
Im using this as my auth/validator:
"auth/validator": {
"alg": "{{ .env.jwt_alg }}",
"jwk_local_path": "/etc/krakend/settings/{{ .env.environment }}/jwk.txt",
"issuer": "
https://mydomain/oauth2",
"operation_debug": true
}
I know the file is loaded but I get the error message:
[JWTValidator] Unable to parse the configuration: JWK client is using an insecure connection to the JWK service
Then I tried adding the "disable_jwk_security": true,
But I got this error message when trying to call the gateway:
[JWTValidator] Unable to validate the token: Get "": unsupported protocol scheme ""
my JWK is a symmetric key so it has this format:
{
"kty": "oct",
"k": "the private key"
"alg": "myalg"
"use": "sig"
}
I cant seem to figure out what I am doing wrong.