I am a beginner and I am learning react js. In my project, I am using firebase. I have created a sign-in button but can't sign in with google.
I am getting this error:
Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute
How can I solve this problem?
set the header line in your server page (if in PHP) as below:
header("Set-Cookie: cross-site-cookie=whatever; SameSite=None; Secure");