@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
الموضوعات ذات الصلة
| الموضوع | الردود | مرات العرض | النشاط | |
|---|---|---|---|---|
| How to fully logout user session plus clear oauth data | 0 | 1060 | 20 أبريل 2023 | |
| Is Discourse supposed to log you out across browsers? | 9 | 1932 | 21 سبتمبر 2015 | |
| How to log out user if I don't know them? | 6 | 1286 | 26 مارس 2020 | |
| A question about user_auth_tokens | 4 | 1100 | 16 مارس 2017 | |
| WordPress log out everywhere doesn't log out discourse | 5 | 1036 | 24 يونيو 2020 |