in cdslogviewer/app/auth/BearerTokenAuth.scala [105:119]
def loadInKey():Try[JWKSet] = Try {
loadTime = System.currentTimeMillis / 1000
val isRemoteMatcher = "^https*:".r.unanchored
if(isRemoteMatcher.matches(signingCertPath)) {
logger.info(s"Loading JWKS from $signingCertPath")
val set = loadRemoteJWKSet(signingCertPath)
logger.info(s"Loaded in ${set.getKeys.toArray.length} keys from endpoint")
set
} else {
logger.info(s"Loading JWKS from local path $signingCertPath")
loadLocalJWKSet(signingCertPath)
}
}