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
Gerelateerde topics
| Topic | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
| API Key as a query string parameter is a security risk, right? | 5 | 9125 | 14 mei 2020 | |
| Discourse API - Unable to query certain endpoints | 8 | 1529 | 31 oktober 2019 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1491 | 28 november 2019 | |
| Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked | 8 | 3008 | 11 augustus 2020 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 3 | 2196 | 28 april 2023 |