This guide helps you to choose between using the Google Identity Services| Google for Developers
Web apps must obtain an access token to securely call Google APIs.| Google for Developers