diff --git a/src/lib/validate.js b/src/lib/validate.js index 0989c6b..214fef5 100644 --- a/src/lib/validate.js +++ b/src/lib/validate.js @@ -63,7 +63,7 @@ function validateHelloParams({ param, protocolParams, helloParams, helloParamsVa } async function validateAuthzServer(url) { - const healthCheckUrl = new URL('/api/v1/health_check/playground', url); + const healthCheckUrl = new URL('/api/v1/health_check/playground', url).href; try { const res = await fetch(healthCheckUrl); return res.status === 200;