Getting error when attempting to login using google

I’m using codespaces(github) to create react website that’s utilizing sui blockchain and my server is local host(8080). The landing page is showing once i run the code on codespaces but once i select “Login with Google” i get an error on the attached images. I’m getting alot of errors using vscode on my machine that’s why i opted for codespaces.

The sui node is working fine, but once i interact with the site i get the error. The local host is what i used on Google Cloud for authentication and redirection.
Please advise.