I’m currently using the Remote-User header to authenticate users (using auth_remote plugin), but my authentication mechanism supports logout via special URL. Would be nice if there was a way to specify a logout URL after TTRSS log out, otherwise the logout does nothing and it’ll log me back in again.
When I just logged out the authentication which provides the Remote-User, I then login as a different user, TTRSS I’m still logged in as the old user. I have to go to 3 Bars menu then Logout, it then picks the Remote-User again, and logs me in as the correct user.
So the process would need to;
Logout of TTRSS, then redirect to specified authentication provider URL in my case it would be “https://rss.domain.com/akprox/sign_out”, to finish off the authentication logout.
i’m probably going to add a post-logout hook which auth_remote is going to provide, if hook function returns an url, tt-rss would redirect to it, instead of login page. something like that.
If anyone else gets this problem as well, if you do
TTRSS_AUTH_REMOTE_POST_LOGOUT_URL=/akprox/sign_out
instead of it fully qualified, it won’t work.
TTRSS_AUTH_REMOTE_POST_LOGOUT_URL=https://rss.domain.com/akprox/sign_out