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

OpenID Plugin #2510

Closed
netAction opened this issue Jun 23, 2011 · 5 comments
Closed

OpenID Plugin #2510

netAction opened this issue Jun 23, 2011 · 5 comments
Labels
Enhancement For new feature suggestions that for example enhance Matomo's cabapilities.. worksforme The issue cannot be reproduced and things work as intended.

Comments

@netAction
Copy link

OpenID Plugin

Most of the piwik users already have an OpenID Provider. Googlemail is one for example. If you have a Wordpress site, you can use your login there for piwik too.

Most of the piwik users have more passwords then they can handle.

The plugin creates an column openid in the users table. It needs a verified OpenID in _$SERVER[REMOTE_USER], which is provided by the Apache module mod_auth_openid.

If the openid field of an user is equal to the OpenID given by Apache the user is logged in. No password needed any longer.

How to install?

You have to use both this plugin and the Apache2 module mod_auth_openid.
[http://findingscience.com/mod_auth_openid/]

<Location /piwik/index.php>
  AuthOpenIDEnabled On
  AuthType OpenID
</Location>

Make sure that the OpenID login only affects index.php but not piwik.php.
You do not have to register OpenIDs in a way like "require user alice bob".
This is piwik's task now.

Edit config/config.inc.php and add openid=http://my-openid.com
to the [superuser] section.

Then you should be able to login to your piwik as superuser.
If you have more users add their OpenIDs in the SQL user table.

Author

Thomas Schmidt [http://netaction.de]

Feedback

Please leave a comment if you have any feedback, suggestion, or bug report.
Keywords: OpenID, Plugin, third-party-plugin

@netAction
Copy link
Author

Bug: Token Auth is not possible.

@netAction
Copy link
Author

Attachment: Version 0.3
OpenIDLogin.tar

@netAction
Copy link
Author

Version 0.3 has a simple editor for OpenIDs.

  • The superuser can change the OpenIDs of every user except of his own OpenID.
  • Administrators or users with view permissions are not allowed to change any OpenID.
  • To set the OpenID of the superuser edit config/config.inc.php and add to the [superuser] section openid= http: //my-openid.com.

Warning! To use this plugin you need the Apache OpenID module. There is no OpenID client integrated in this plugin.

@robocoder
Copy link
Contributor

A lot of users are on shared hosting. You might want to look into using the Zend_OpenId code as a fallback if mod_auth_openid is unavailable.

@mattab
Copy link
Member

mattab commented Feb 6, 2014

Along with the Piwik 2.0 release and new design for Piwik, we have also launched the official Plugins Marketplace to let any developer share their work to the thousands of Piwik users worldwide.

Maybe you'd like to publish your plugin there?

In any case, keep up the good work and we hope you enjoy Piwik 2!

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 for example enhance Matomo's cabapilities.. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants