Plugin Login -> Controller -> index | login should respect login_logout_url parameter from config.ini
Hind: Single-Sign-On Auth Plugins can be used more comfortable
Keywords: sso, sigle-sign-on
What is not working exactly, can you explain steps to reproduce and what you expect VS what you see?
I wrote a plugin for Signle-Sign-On Auth.
Then set property login_logout_url to my SSO-Service-Provider.
I can now login (via SSO) only if i add ?module=<modulename> to my url.
Direkt hits to piwik still show piwik login.
In this state i can use the "logout" Button correctly (as expected when i look at the Login-Plugin-Controllers logout action.
When i try to disable Login-Plugin from piwik nothing changed, only logout is broken too then.
I think the login (or index) action from the login-controller needs a implementation like the logout action.
Thanks for the details!
Is your SSO plugin reusable for others?
Maybe you would be able to release the code on github under GPL?
The solution is for your custom plugin to "extend" the Login Controller. Then your plugin will implement the logout() using the login_logout_url if it is specified.
Hope this helps!