I'm trying to sign in with Google on localhost without success. I've set up the authorized javascript origins as expected (API&Services > Credentials)...
...but after signing in, I still get this error:
You can see Google mentions that the Authorised Javascript origins are automatically added to the OAuth consent screen as authorised domains. So, I checked the OAuth consent screen and I don't see localhost:
... and I cannot add localhost in the Authorized domains list cause it requires a top-level domain.


