// js
import {
getAuth,
signInWithRedirect,
GoogleAuthProvider,
}
const googleSignin = () => {
const provider = new GoogleAuthProvider();
return signInWithRedirect(auth, provider);
}
// html
<div onClick={googleSignin}>SignIn with Google</div>
whenever I run this code in my react app, I get the following error in my console "Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute"