Cannot get oAuth2 Access Token for Google Analytics API
问题 I am using Rails + Garb Gem (Sija Branch) + omniauth-google-oauth2 Gem and I can successfully authenticate with the Google Analytics API and extract data that our app is generating when using a user login, e.g.: Garb::Session.login('USERNAME', '<PASSWORD>') I can then use Garb to connect to the Analytics Profile I want and pull the data from it and display some charts on a webpage. This all works fine. However, I want to use oAuth2 to authenticate with Analytics which is why I had to install