From ae077cb42563bad2a6ace0752ef8b1f74d686635 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 6 Jan 2026 21:04:58 +0800 Subject: [PATCH] chore(oauth-provider): add `NoInfer` (#7148) --- packages/oauth-provider/src/oauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/oauth-provider/src/oauth.ts b/packages/oauth-provider/src/oauth.ts index e8d29e4451..903673094e 100644 --- a/packages/oauth-provider/src/oauth.ts +++ b/packages/oauth-provider/src/oauth.ts @@ -145,7 +145,7 @@ export const oauthProvider = >(options: O) => { return { id: "oauthProvider", - options: opts, + options: opts as NoInfer, init: (ctx) => { // Require session id storage on database (secondary-storage only solution not yet supported) if (ctx.options.session && !ctx.options.session.storeSessionInDatabase) {