We installed 1.7.0.beta4 on a Digital Ocean droplet. Everything is working great, except for signup via Facebook and Google Logins (haven’t tried others). The user authorization process works fine (Sign Up → Redirect to Google or Facebook → User clicks Approve → Redirects back to Discourse), and the Discourse app is added successfully to the Google / Facebook user accounts; but once user returns to Discourse, this error message is displayed, and no user is created in Discourse:
“Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?”
There’s nothing in browser debug Console/Network that suggests what the problem is. Here’s a snapshot of the Console output after a Facebook sign up attempt:
No, I mean did you do an /admin/upgrade or ssh in and upgrade via console – those are the weekly or bi-weekly versions. I need you to be on the very latest.
(google_oauth2) Authentication failure! invalid_credentials: OAuth2::Error, {“errors”=>[{“domain”=>“usageLimits”, “reason”=>“accessNotConfigured”, “message”=>"Access Not Configured. Google+ API has no
@sam@codinghorror Solved the issue.
I was getting the same generic error message upon failure, which made it seem like it’s the same issue on both sides.
The error was with the config (enabling Google+ API and Contacts API on Google, and incomplete secret code on Facebook!) and the /logs page saved the day
Sorry for the false alarm!