The redirect URI in the request, http://masterdom.ru/login/youtube/, 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/547796607719-mak48p097d75icgvnpkqfd7lqskclcll.apps.googleusercontent.com?project=547796607719