Docs: The parameters obtained from the /auth/user_token endpoint do not include chatToken
Description
The parameters obtained from the /auth/user_token endpoint do not include chatToken, which is only returned by the /account/login endpoint. However, according to the documentation, users registered through /user/user_register do not have a phone number or password and therefore cannot use the /account/login endpoint to log in.
Screenshots
- /user/user_register
-
/auth/user_token
-
/account/login
Additional information
No response
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem.
Join slack 🤖 to connect and communicate with our developers.
Would you mind assisting me in obtaining the chat token through the chat API? The information can be found at this link: https://github.com/openimsdk/chat. Thank you for your help!
You should be aware of the relationship between the chat service and the IM server. The chat service is primarily used for registration. Once a user successfully registers there, they should then call the REST API to register with the IM server.
Meanwhile, once a user successfully logs into the chat server, they will receive a chat token from it. Following this, they should call the REST API to obtain an IM token from the IM server.
Meanwhile, once a user successfully logs into the chat server, they will receive a chat token from it. Following this, they should call the REST API to obtain an IM token from the IM server.
Thanks, I know the function of chat token. But can chat token only be obtained through login interface? Is there no interface like /auth/user_token to get it?
- images
您介意协助我通过聊天 API 获取聊天令牌吗?该信息可以在以下链接中找到:https://github.com/openimsdk/chat。感谢您的帮助!
You can find the document on their official website:https://doc.rentsoft.cn
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.