react-oauth icon indicating copy to clipboard operation
react-oauth copied to clipboard

How to use GoogleLogin with fedcm

Open poorvasingh04 opened this issue 1 year ago • 0 comments

I am using GoogleLogin button

<GoogleLogin use_fedcm_for_prompt onSuccess={(credentialResponse) => { const { credential } = credentialResponse; if (credential) { //LOGIN USER } }} onError={() => { console.log("Signin with Google failed"); }} />

browser shows silent error getUserInfo() failed because the user has not yet used FedCM on this site with the provided IDP

What do I need to fix this issue?

poorvasingh04 avatar Mar 06 '24 09:03 poorvasingh04