This doesn't work on staging as implemented. Launchpad, for example, logs out from a /+logout URL (the HTTP Referrer) requesting a return to that same URL, but that doesn't match exactly the trust_root.
This doesn't work on staging as implemented. Launchpad, for example, logs out from a /+logout URL (the HTTP Referrer) requesting a return to that same URL, but that doesn't match exactly the trust_root.