gpt4 book ai didi

getstream-io - 如何在 getstream.io 上启用 devTokens?

转载 作者:行者123 更新时间:2023-12-05 03:52:46 25 4
gpt4 key购买 nike

在此页面上显示“要启用开发 token ,您需要更改应用程序配置。”

https://getstream.io/chat/docs/tokens_and_authentication/?language=js

允许使用

await client.setUser(
{
id: 'john',
name: 'John Doe',
image: 'https://getstream.io/random_svg/?name=John',
},
client.devToken('john'),
);

我已在 getstream 仪表板中将应用程序类型更改为“开发”,但我仍然收到以下错误:

错误:{"code":5,"StatusCode":401,"message":"WS 失败,代码 5 和原因 - 此应用程序不允许使用开发 token ","isWSFailure":false}

最佳答案

您需要在仪表板中禁用身份验证检查。

截图中的第一个:

enter image description here

关于getstream-io - 如何在 getstream.io 上启用 devTokens?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62054421/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com