From d495715eeafc6733d33db29f7fedc0f8596581ba Mon Sep 17 00:00:00 2001 From: Josef Zoller Date: Thu, 4 Dec 2025 19:33:06 +0100 Subject: [PATCH] fix(core): allow returning null in getUserInfo in provider options (#6528) --- packages/core/src/oauth2/oauth-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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