From cd8effe79ce7486dad2196e234d55e0b89ff018d Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 18 Nov 2025 14:29:28 -0800 Subject: [PATCH] fix: remove `requireLogin` from types --- packages/better-auth/src/plugins/oidc-provider/types.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/better-auth/src/plugins/oidc-provider/types.ts b/packages/better-auth/src/plugins/oidc-provider/types.ts index 4c39047fbd..9ed47f26bc 100644 --- a/packages/better-auth/src/plugins/oidc-provider/types.ts +++ b/packages/better-auth/src/plugins/oidc-provider/types.ts @@ -357,13 +357,6 @@ export interface CodeVerificationValue { * with the actual code. */ requireConsent: boolean; - /** - * Whether the user needs to be logged in to use the client. - * - * If this is true, then the user will be redirected to the login page. - * If the user is already logged in, they will be redirected to the redirect URI. - */ - requireLogin: boolean; /** * The state parameter from the request *