I am implementing Chat-SDK from Agora.io. I am generating user token using npm libarary agora-token in a Node.js service, I execute
const token = ChatTokenBuilder
.buildUserToken(appChatId, appCertificate, agoraUserId, tokenDurationInSecond);
with the right appId, appCertificate, and agoraUserId that I get from agora console.
Why does my client app (iOS + Android + Web) still get “Authentication failed” when connect to agora?
Successfully connect to chat-agora
New contributor
Hendri Budi Santoso is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.