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 | 9199 | 2020 年 5 月 14 日 | |
| Discourse API - Unable to query certain endpoints | 7 | 1567 | 2019 年 10 月 1 日 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1512 | 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 | 7 | 3025 | 2020 年 8 月 11 日 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 2 | 2223 | 2023 年 4 月 28 日 |