I am using Discourse as my SSO (and forum, of course).
I want to be able to allow logout from my main application, without requiring the user to go to the forum, click on their avatar and selecting the Logout option.
I traced the network and it seems to be an HTTP DELETE on that username:
Is there no other GET or POST way to call this?
I cannot issued a DELETE from a URL in my site (or as part of a 302 redirect).
I did look into the API method (https://meta.discourse.org/t/discourse-sso-logout/28509/4), but that seems to require installing a gem (I think) on my client application side for using the API key, and my client application is not using Ruby.