Here’s my situation. I am trying to run a Discourse install at
talk.example.com while maintaining a website at
www.example.com. I want it so that when someone logins to the Discourse site, they also appear logged in at the
www site. If they log out of the Discourse site, they are logged out of
www. I did a lot of reading through topics here and the common answer appears to be to use SSO. I don’t think that can work in my situation and here’s why.
The site at
www.example.com is a static website built with Hugo. For those who don’t know it, think of Jekyll. So there’s no database or any backend whatsoever for it. It’s not an “app”. I basically want Discourse to be a pseudo backend for this static site. If they have unread notifications on Discourse, I want to be able to show that to them via the static site.
The only way I can think to do this is via Discourse cookies that don’t include the subdomain for which my research so far says Discourse doesn’t support.