On localhost this configuration worked just fine:
jwt {
privateKey = "PrivateKey"
issuer = "
http://0.0.0.0:8080/"
audience = "
http://0.0.0.0:8080/hello"
realm = "Access to 'hello'"
}
But on Heroku I get the following error:
com.auth0.jwk.SigningKeyNotFoundException: Failed to get key with kid 346899ed-9189-488f-9011-0ff4b6c08xyz
Caused by: java.util.concurrent.ExecutionException: com.auth0.jwk.NetworkException: Cannot obtain jwks from url
https://myherokudomain/.well-known/jwks.json
What do I have to use for issuer? Anyone?