如何在 getstream.io 上启用 devTokens?
How do I Enable devTokens on getstream.io?
在这个页面上写着 "To enable development tokens, you need to change your application configuration."
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 仪表板中将应用程序类型更改为 'development',但我仍然收到以下错误:
错误:{"code":5,"StatusCode":401,"message":"WS failed with code 5 and reason - development tokens are not allowed for this application","isWSFailure":false}
您需要在仪表板中禁用身份验证检查。
截图中第一个:
在这个页面上写着 "To enable development tokens, you need to change your application configuration."
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 仪表板中将应用程序类型更改为 'development',但我仍然收到以下错误:
错误:{"code":5,"StatusCode":401,"message":"WS failed with code 5 and reason - development tokens are not allowed for this application","isWSFailure":false}
您需要在仪表板中禁用身份验证检查。
截图中第一个: