The Discourse API now supports, and recommends passing the authentication details in the request’s HTTP headers. See the updated Discourse 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? | 5 | 9109 | 2020 年5 月 14 日 | |
| Discourse API - Unable to query certain endpoints | 8 | 1515 | 2019 年10 月 31 日 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1484 | 2019 年11 月 28 日 | |
| Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked | 8 | 3005 | 2020 年8 月 11 日 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 3 | 2195 | 2023 年4 月 28 日 |