fix: pass fetchfn parameter to registerClient and refreshAuthorizatio… (#850)
This commit is contained in:
parent
69d4eb1227
commit
aad33a15a8
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue