Please go to Dropbox Apps page https://www.dropbox.com/developers/apps , create an application, and in the line 22 set the client_id to Consumer key and client_secret with Consumer secret. The Callback URL must be https://erp.leaf.com.my/webmail/modules/OAuthIntegratorWebclient/Classes/OAuthClient/login_with_dropbox.php