Forse potresti generare un token di sessione separato dalla chiave API. Usa quel token per indicare lo stato di accesso dell’utente. In questo modo non avresti bisogno di eliminare la chiave API quando l’utente effettua il logout.
simon
6
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| User API keys specification | 70 | 35571 | Settembre 22, 2025 | |
| Discourse Login & Registeration | 4 | 3569 | Settembre 28, 2016 | |
| Generating and retrieving user API keys | 0 | 528 | Marzo 2, 2023 | |
| Allow API use by regular users, not just admins | 7 | 1344 | Aprile 29, 2023 | |
| Generating User Api Keys with REST API | 20 | 8719 | Aprile 8, 2018 |