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 | 9142 | 2020 年 5 月 14 日 | |
| Discourse API - Unable to query certain endpoints | 8 | 1539 | 2019 年 10 月 31 日 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1496 | 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 | 3013 | 2020 年 8 月 11 日 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 3 | 2212 | 2023 年 4 月 28 日 |