fix-wrong-url-on-auth-error (#21693)

This commit is contained in:
Hariom Balhara
2025-06-04 09:55:19 +05:30
committed by GitHub
parent ca206915bf
commit d54ba90304
@@ -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)