If anyone can help <https://stackoverflow.com/ques...
# ktor
a
Do you have the
jwks.json
file exposed like here?
r
@Aleksei Tirman [JB] Thank you, it worked perfectly. I have a doubt. Instead of using jws.json, can I use a public.key? like
Copy code
static(".well-known") {
  staticRootFolder = File("src/main/resources/keys")
  file("jwks.json")
}
to
Copy code
static(".well-known") {
  getpublicKey("path") // return a RSAPublicKey... 
}