diff --git a/packages/better-auth/src/plugins/oidc-provider/authorize.ts b/packages/better-auth/src/plugins/oidc-provider/authorize.ts index 9881bd0c99..b96b54f416 100644 --- a/packages/better-auth/src/plugins/oidc-provider/authorize.ts +++ b/packages/better-auth/src/plugins/oidc-provider/authorize.ts @@ -33,7 +33,7 @@ export async function authorize( }); } const session = await getSessionFromCtx(ctx); - if (!session) { + if (!session) { /** * If the user is not logged in, we need to redirect them to the * login page.