I'm trying to implement google+ authentication using Google Passport Strategy and return the access token to client side(Angular) for subsequent requests. But I keep getting the error at client side. "XMLHttpRequest cannot load https://accounts.google.com/o/oauth2/v2/auth?response_type=code&redirect_ur…=1094664898379-8u0muh9eme8nnvp95dafuc3rvigu4j9u.apps.googleusercontent.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access." that I get while implementing google strategy for authentication in my web app. I use Angular framework at client side and Express on server.
I've also referred to following previous posts for solution but to no avail. The solutions offered are to use a simple href at Client Side, but I dont know how the access token can be passed to client side for making subsequent API requests. Any help will be greatly appreciated.
Angular/Node/Express/Passport - Issues when connecting to facebook(CORS) Angular/Node/Express/Passport Cross Domain Problems - Enable CORS Passport Facebook Authentication