The redirect URI in the request, https://www.pstime.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/784680246752-05g94977p8f3tvmvb7c9ao0dvc8jq1as.apps.googleusercontent.com?project=784680246752