From 61de31ca5a74aff64aa62e6cd6372f9fe9486aae Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Fri, 27 Sep 2024 21:28:12 +0530 Subject: [PATCH] update care jwks url --- src/lib/jose.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/jose.ts b/src/lib/jose.ts index 1fc91ae..0727ae9 100644 --- a/src/lib/jose.ts +++ b/src/lib/jose.ts @@ -95,7 +95,7 @@ export async function getCareJWKs() { if (!careJWKs) { const controller = new AbortController(); setTimeout(() => controller.abort(), 5000); - const res = await fetch(`${careApi}/.well-known/openid-configuration`, { + const res = await fetch(`${careApi}/.well-known/jwks.json`, { signal: controller.signal, }).then((res) => { if (!res.ok) {