Skip to content

Trouble Shooting

caitengwen edited this page Oct 27, 2020 · 2 revisions

其他语言版本:简体中文

Security

  1. In this sample project, we use Basic HTTP Authentication, which will generate the Authorization parameter. If you need a more secure way, you can use Token Authentication and pass in a uid to dynamically generate a token. For more information about how to generate an RTM Token, see Token Security.
  2. If you are worried about the security of the whiteboard sdkToken, you can deploy your own Token generation service. You should store the sdkToken on your server, and see the following documents to deploy a service for generating the token of a whiteboard room.

References

Example

Request GET {{tokenServiceUrl}}?channelName={channelName}

Request parameter Type Description
channelName String The channel name

Response

Content-Type: application/json;charset=UTF-8
{
    "msg": "Success",
    "code": 0,
    "data": {

        "boardId": "",
        "boardToken": ""

    }
}

Web

1. Use other tools than npm

If you do not use yarn or cnpm to install, remove node_modules, yarn.lock, package-lock.json.

Clone this wiki locally