samedi 4 mars 2017

Quick blox video calling in not working on web

I am using Quick blox for integrating the Video chat in my Java web application. Using Angular/Java script on front end. My issue is I am not able to create a session for the User I have created in Quickblox thru API. However I am able to create a session thru java script for the Admin User. I mean the User by which I have created my Quick Blox Account.

When I retrieve the user on java side form Quick blox I am getting the below mentioned result

HTTP/1.1 200 OK

{"user":"id":24837946,"owner_id":63610,"full_name":"lakshay","email":"lakshay@gym.com","login":"lakshay@gym.com","phone":null,"website":null,"created_at":"2017-03-04T05:36:43Z","updated_at":"2017-03-04T05:36:43Z","last_request_at":null,"external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"twitter_digits_id":null,"user_tags":null}}

HTTP/1.1 200 OK

{"user":"id":24837064,"owner_id":63610,"full_name":"lakshay","email":"lakshay.gym@gmail.com","login":"lakshay.gym@gmail.com","phone":null,"website":null,"created_at":"2017-03-04T04:53:35Z","updated_at":"2017-03-04T04:53:35Z","last_request_at":null,"external_user_id":null,"facebook_id":null,"twitter_id":null,"blob_id":null,"custom_data":null,"twitter_digits_id":null,"user_tags":null}}

These are my two user in Quickblox.

But I am not able to create a session.

In js side I am sending this in create session method :-

{ application_id:50623, auth_key:"2Z77VTuccR3XzLf", nonce:439, signature:"8648eaeaf2922f4b58e7847159267d60f45dbd04", timestamp:1488626331, user { login:"lakshay@gym.com" password":"xyz" }

I am getting following error in JS side in Create Session method:-

object {code: 401, status: "error", message: "Unauthorized", detail: "{"errors":["Unauthorized"]}"}

I am using Starter Plan from Quick blox. Thanks in advance for any help or suggestions




Aucun commentaire:

Enregistrer un commentaire