Discourse Meta
关于 API 认证用户的混淆
开发
rest-api
michaeld
(Michael - Communiteq)
2024 年5 月 31 日 04:44
3
你不应该从前端使用该 API,因为那样的话确实存在风险(实际上风险要高得多,因为黑客可以做任何事情)
你应该从后端执行此操作。
如果那不是一个选项,那么你应该改用用户 API 密钥。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
API endpoint users/by-external/ failing with authorization headers, works without
Bug
rest-api
2
656
2023 年6 月 26 日
Create apikey for user programmatically as admin
Development
rest-api
8
2150
2024 年2 月 26 日
Allow API use by regular users, not just admins
Development
rest-api
6
1565
2023 年2 月 14 日
Work with discourse users on an SPA
Development
2
1289
2022 年1 月 13 日
The purpose of the 2 Discourse API systems
Support
5
1533
2020 年6 月 24 日