Please go to mail.ru sites page http://api.mail.ru/sites/my/add/ , add a new site and in the line 23 set the client_id to application ID and client_secret with secret key. The callback URL must be http://18.142.0.193/webmail/modules/OAuthIntegratorWebclient/Classes/OAuthClient/login_with_mail.ru.php