{"action":"closed","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/139","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/139/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/139/events","html_url":"https://github.com/QuickBlox/quickblox-android-sdk/issues/139","id":132635284,"number":139,"title":"Session / Auth request returning \"Unexpected Signature\" always..","user":{"login":"rohan90","id":8319443,"avatar_url":"https://avatars.githubusercontent.com/u/8319443?v=3","gravatar_id":"","url":"https://api.github.com/users/rohan90","html_url":"https://github.com/rohan90","followers_url":"https://api.github.com/users/rohan90/followers","following_url":"https://api.github.com/users/rohan90/following{/other_user}","gists_url":"https://api.github.com/users/rohan90/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan90/subscriptions","organizations_url":"https://api.github.com/users/rohan90/orgs","repos_url":"https://api.github.com/users/rohan90/repos","events_url":"https://api.github.com/users/rohan90/events{/privacy}","received_events_url":"https://api.github.com/users/rohan90/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-02-10T08:31:32Z","updated_at":"2017-02-17T08:37:37Z","closed_at":"2017-02-17T08:37:37Z","body":"Hi,\nmy team has a backend which will hit the quikblox api to create a user based on few provided details.\nTo consume the post api for user creation we need a QB-Token. To get this QB-Token we need to hit the auth/session api.\n\nHere is what is always responded when we hit the auth api.\n`{\"errors\":{\"base\":[\"Unexpected signature\"]}}`\nRequest is\n`curl -X POST -H \"Content-Type: application/json\" -H \"QuickBlox-REST-API-Version: 0.1.0\" -d '{\"application_id\":\"31477\",\"auth_key\":\"gn9xXU3PRkVNp-t\",\"nonce\":\"100\",\"timestamp\":\"1455092131\",\"signature\":\"85460225fd325b05060bdc901d1eb413b0004f49\"}' http://api.quickblox.com/session.json`\nI generate the signature using body\n`app_id=31477&auth_key=gn9xXU3PRkVNp-t&nonce=100&timestamp=1455092131`\nand key (secret_key) `rH4JUTmQGGkBC5y`\n\n//your signature generation doc is not that explanatory..\nhttp://quickblox.com/developers/Authentication_and_Authorization#Signature_generation\n//what we use for sig generation for now (our java code genrates exact same values)\nhttp://hash.online-convert.com/sha1-generato\n\nive even tried it with the /auth.json end point.\n\nPlease help\nThanks in advance.\n"}}
{"actor":{"display_login":"tatanka987"}}