Isn’t this going to expose your All Users API Key to everyone who can view your site? I think you’ll need to find another approach for getting the group data from a theme component.
simon
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| "Api-Key" and "Api-Username" for try.discourse.org? | 12 | 1510 | February 4, 2025 | |
| Create apikey for user programmatically as admin | 8 | 2290 | February 26, 2024 | |
| User API keys specification | 69 | 38841 | September 22, 2025 | |
| Allow API use by regular users, not just admins | 6 | 1701 | February 14, 2023 | |
| New to API, 403 Errors | 12 | 3709 | August 11, 2017 |