The redirect URI in the request, https://bandbucket.com/accounts/google/login/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/506216786532-vi3ibj1q5ja5bf8k374g0ig4oa9d3ere.apps.googleusercontent.com?project=506216786532