We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 423fcec + 1304815 commit aa7c320Copy full SHA for aa7c320
radar-auth/src/main/java/org/radarbase/auth/jwks/JwksTokenVerifierLoader.kt
@@ -52,7 +52,7 @@ class JwksTokenVerifierLoader(
52
53
private suspend fun fetchPublicKeyInfo(): JsonWebKeySet = withContext(Dispatchers.IO) {
54
logger.info("Getting the JWT public key at {}", url)
55
- val response = httpClient.request()
+ val response = httpClient.request(url)
56
57
if (!response.status.isSuccess()) {
58
throw TokenValidationException("Cannot fetch token keys (${response.status}) - ${response.bodyAsText()}")
@@ -91,7 +91,6 @@ class JwksTokenVerifierLoader(
91
})
92
}
93
defaultRequest {
94
- url(this@JwksTokenVerifierLoader.url)
95
accept(ContentType.Application.Json)
96
97
0 commit comments