Does authorization still work?
When I click on the "Click here to get the authorization" link from the settings page inside roundcube I am taken to a google page with a 400-error.
If I try to run, sync-cli.sh, I get the following error:
Syncing contacts for user name@domain... Error refreshing the OAuth2 token, message: '{ "error" : "unauthorized_client", "error_description" : "Unauthorized" }'
I have checked my settings in config.inc.php, and the settings, google_addressbook_client_id and google_addressbook_client_secret, appear to be set correctly.
So it looks like I need to re-authorize, but I am not sure how to do that. . .
I ended up setting $config['google_addressbook_client_redirect'] to 'true', and configuring $config['google_addressbook_client_redirect_url']. I also configured Authorized redirect URIs, from the google site, to match the value configured for google_addressbook_client_redirect_url ( don't know if this was necessary). At this point I was allowed to click the link to get authorization and everything seemed to work (Got the email from google that I have allowed roundcube to access my contacts), and I am no longer seeing the link to get authorization. If I go into contacts and try to synch google addresses I get an error "Authentication not allowed". From the sync-cli.sh script I get [googleforbidden].