I was doing my development with Google Drive API using [localhost:8080]. Suddenly I felt to test it in my local deployment sandbox and it has IP address as [192.168.1.1:8080
Modify your file hosts at \Windows\System32\drivers\etc\hosts
add "192.168.1.2 fakedomain.com" into hosts file restart your windows
Update google console 192.168.1.2 update to fakedomain.com