@anonymous-piwik-user opened this issue on January 29th 2014

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

@mattab commented on January 30th 2014

What is not working exactly, can you explain steps to reproduce and what you expect VS what you see?

@anonymous-piwik-user commented on January 30th 2014

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.

@mattab commented on January 30th 2014

Thanks for the details!

Is your SSO plugin reusable for others?

Maybe you would be able to release the code on github under GPL?


@mattab commented on March 16th 2014

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!

This issue was closed on March 16th 2014
Powered by GitHub Issue Mirror