Please go to Microsoft Live Connect Developer Center page https://manage.dev.live.com/AddApplication.aspx and create a newapplication, and in the line 22 set the client_id to Client ID and client_secret with Client secret. The callback URL must be http://18.142.0.193/webmail/modules/OAuthIntegratorWebclient/Classes/OAuthClient/login_with_microsoft.php but make sure the domain is valid and can be resolved by a public DNS.