chore(oauth-provider): add NoInfer (#7148)

This commit is contained in:
Alex Yang
2026-01-12 02:50:02 -08:00
parent f8318f6b6c
commit 0732c9148e
+1 -1
View File
@@ -145,7 +145,7 @@ export const oauthProvider = <O extends OAuthOptions<Scope[]>>(options: O) => {
return {
id: "oauthProvider",
options: opts,
options: opts as NoInfer<O>,
init: (ctx) => {
// Require session id storage on database (secondary-storage only solution not yet supported)
if (ctx.options.session && !ctx.options.session.storeSessionInDatabase) {