The redirect URI in the request, http://adaptativa.com.br/users/auth/google_oauth2/callback, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/581595636253.apps.googleusercontent.com?project=581595636253