@sam thanks for your quick reply. I do not want log out strict. It logs the user out of every session on every device, I just want to log the user out on the current device. I am logging the user out of Discourse as part of my own site’s logout flow. Discourse is a subdomain of my domain, so my endpoint gets its cookies. My question is if it is good practice to simply set the user’s token cookie to empty myself without ever talking to discourse, which judging from the code you provided seems to be the case. Please correct me if that’s wrong, otherwise, thanks for your help!
Kevin_Wildenradt
(Kevin Wildenradt)
3
Temas relacionados
| Tema | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
| How to fully logout user session plus clear oauth data | 0 | 1060 | 20 Abril 2023 | |
| Is Discourse supposed to log you out across browsers? | 9 | 1932 | 21 Septiembre 2015 | |
| How to log out user if I don't know them? | 6 | 1286 | 26 Marzo 2020 | |
| A question about user_auth_tokens | 4 | 1100 | 16 Marzo 2017 | |
| WordPress log out everywhere doesn't log out discourse | 5 | 1036 | 24 Junio 2020 |