Maybe you could generate a session token that’s separate from the API key. Use that token to indicate the user’s login status. That way you wouldn’t need to delete the API key when the user logs out.
simon
6
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| User API keys specification | 70 | 35491 | 22 בספטמבר, 2025 | |
| Discourse Login & Registeration | 4 | 3549 | 28 בספטמבר, 2016 | |
| Generating and retrieving user API keys | 0 | 527 | 2 במרץ, 2023 | |
| Allow API use by regular users, not just admins | 7 | 1335 | 29 באפריל, 2023 | |
| Generating User Api Keys with REST API | 20 | 8708 | 8 באפריל, 2018 |