I think I encountered the same problem as you. I addressed this problem with the following steps:
1) Go to Google Developers Console
2) Set JavaScript origins:
- http://localhost
3) Set Redirect URIs:
-
http://localhost:8080
-
http://localhost:8080/Callback