diff --git a/packages/features/auth/lib/next-auth-options.ts b/packages/features/auth/lib/next-auth-options.ts index 613d9baa4f..43de83ae20 100644 --- a/packages/features/auth/lib/next-auth-options.ts +++ b/packages/features/auth/lib/next-auth-options.ts @@ -973,7 +973,7 @@ export const getOptions = ({ return true; } } - return `auth/error?error=wrong-provider&provider=${existingUserWithEmail.identityProvider}`; + return `/auth/error?error=wrong-provider&provider=${existingUserWithEmail.identityProvider}`; } // Associate with organization if enabled by flag and idP is Google (for now)