If you need to keep the behaviour you outlined, then yes I think those are the 4 options. But if you change the behaviour a little then it will work better with the tools available.
The unusual bit about your setup is:
You are killing the discourse session whenever the session expires on your main site. If you remove this piece, I think the setup will match typical setups.
You could still call /logout when a user explicitly logs out from your main site. Just don’t call it when the session expires naturally.