The Discourse API now supports, and recommends passing the authentication details in the request’s HTTP headers. See the updated Discourse REST API Documentation topic and the Authentication section of https://docs.discourse.org/ for details.
simon
14
相關主題
| 話題 | 回覆 | 觀看 | 活動 | |
|---|---|---|---|---|
| API Key as a query string parameter is a security risk, right? | 4 | 9302 | 2020年五月14日 | |
| Discourse API - Unable to query certain endpoints | 7 | 1616 | 2019年十月1日 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1575 | 2019年十一月28日 | |
| Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked | 7 | 3055 | 2020年八月11日 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 2 | 2262 | 2023年四月28日 |