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
Related topics
| Tópico | Respostas | Vistas | Atividade | |
|---|---|---|---|---|
| API Key as a query string parameter is a security risk, right? | 4 | 9216 | 14 Maio , 2020 | |
| Discourse API - Unable to query certain endpoints | 7 | 1568 | 1 Outubro , 2019 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1519 | 28 Novembro , 2019 | |
| Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked | 7 | 3028 | 11 Agosto , 2020 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 2 | 2227 | 28 Abril , 2023 |