From aad33a15a8cc37a0e54a4d3fe71550588ae2df80 Mon Sep 17 00:00:00 2001 From: Arjun Kumar <90433405+arjunkmrm@users.noreply.github.com> Date: Thu, 14 Aug 2025 22:06:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pass=20fetchfn=20parameter=20to=20regist?= =?UTF-8?q?erClient=20and=20refreshAuthorizatio=E2=80=A6=20(#850)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/auth.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/auth.ts b/src/client/auth.ts index ab8aff0c..8ac9ddd1 100644 --- a/src/client/auth.ts +++ b/src/client/auth.ts @@ -359,6 +359,7 @@ async function authInternal( const fullInformation = await registerClient(authorizationServerUrl, { metadata, clientMetadata: provider.clientMetadata, + fetchFn, }); await provider.saveClientInformation(fullInformation); @@ -395,6 +396,7 @@ async function authInternal( refreshToken: tokens.refresh_token, resource, addClientAuthentication: provider.addClientAuthentication, + fetchFn, }); await provider.saveTokens(newTokens);