Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternativ login URL #4588

Closed
anonymous-matomo-user opened this issue Jan 29, 2014 · 4 comments
Closed

Alternativ login URL #4588

anonymous-matomo-user opened this issue Jan 29, 2014 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Member

mattab commented Jan 30, 2014

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

@anonymous-matomo-user
Copy link
Author

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
Copy link
Member

mattab commented Jan 30, 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?

Cheers

@mattab
Copy link
Member

mattab commented Mar 16, 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!

@anonymous-matomo-user anonymous-matomo-user added this to the 2.2.0 - Piwik 2.2.0 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants