diff --git a/packages/core/src/oauth2/oauth-provider.ts b/packages/core/src/oauth2/oauth-provider.ts index cda8abb706..57f4a20518 100644 --- a/packages/core/src/oauth2/oauth-provider.ts +++ b/packages/core/src/oauth2/oauth-provider.ts @@ -150,7 +150,7 @@ export type ProviderOptions = any> = { [key: string]: any; }; data: any; - }>) + } | null>) | undefined; /** * Custom function to refresh a token