The redirect URI in the request, http://jobquery.jp/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/549661790681-rcml5p82gprof0n5k6v0oelt30k64vc4.apps.googleusercontent.com?project=549661790681