I am trying to use firebase google authentication with my react app but it keeps giving me this error.
Access to fetch at 'https://apis.google.com//scs/apps-static//js/k=oz.gapi.en.OxsXq8UvEOs.O/m=gapi_iframes/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCN7FQWUE2nltJhOBLbHOeQiriRsIg/cb=gapi.loaded_0' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I know it has something to do with local host but i dont know how to solve it. Can anyone help me please.