Visiting /admin/settings/google-analytics-reports gives me the initial setup screen, takes me to google to Grant Access, and then returns back to same initial setup screen asking to "Start setup and authorize account." Running OAuth 3.0-beta4.

Comments

james.cartledge’s picture

I'm experiencing the same bug. Do you need more info?

grendzy’s picture

Status: Active » Postponed (maintainer needs more info)

Make sure your Google account has access to http://google.com/analytics .

If you're still having trouble, can you use the https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/ to record the authorization process?

Since this transcript will contain some secrets - after you post it please revoke the token by visiting "My Account" on google, then follow the link to security -> Authorized Access to your Google Account.

james.cartledge’s picture

Ha. Thanks for the suggestion - a quick look through the headers and I found the problem, although I don't know if this will help drnikki.

In my case, all our admin (and login etc) pages are served as HTTPS, so Google was redirecting back to https://$domain/google-analytics-reports/oauth which our apache config was then redirecting to http://$domain/google-analytics-reports/oauth. Adding that URL to our RewriteCond solved the problem. Thanks!

grendzy’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

issue fixed for 2 weeks with no activity.