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

This commit is contained in:
Alex Yang
2026-01-06 21:04:58 +08:00
committed by GitHub
parent 748c82fd4c
commit ae077cb425

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) {