mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-03 12:57:09 -05:00
chore(oauth-provider): add NoInfer (#7148)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user