Quickblox REST API Unexpected signature on Laravel
问题 I'm getting the following json response from QuickBlox REST API: { "base": ["Unexpected signature"] } My signature method: private function createSignature($login, $password, $timestamp, $nonce) { $signatureContent = "application_id=" . env('QB_APP_ID') . "&auth_key=" . env('QB_APP_KEY') . "&nonce=" . $nonce . "×tamp=" . $timestamp . "&user[login]=" . $login . "&user[password]=" . $password; return hash_hmac('sha1', $signatureContent, env('QB_APP_SECRET')); } The Application ID and Auth