Skip to content

New Plugin: Provide HTTP_AUTH Authentication for Piwik - Release in Marketplace #514

@robocoder

Description

@robocoder

Plugin that forwards the current HTTP_AUTH’ed user to Piwik

```

  • What is HttpAuthLogin plugin ?
    ```

It’s a plug-in that authentifies users based on HTTP_AUTH. HTTP_AUTH is a mechanism provided by the webserver itself (I tested this with Apache). The webserver prompts the user for a login and password, matches it to a database (or a file, you decide), and if the authentication is successful, it lets you access the current logged-in user from PHP.

```

  • What use cases is HttpAuthLogin useful ?
    ```

If you have several web services running on the same machine, you can achieve Single Sign-On. For instance, if you run Piwik, a bug tracker, and a WebDAV disk space on the same web server, you could log-in once on the bug tracker, and be automagically logged-in on Piwik.

HTTP_AUTH is extremely widely supported. Even command-line tools like cURL or wget support it. If for some reason you’d like to write a script that fetches stuff out of Piwik, but you’d like it to be authentified, it’d be a lot easier to do with HttpAuthPlugIn.

Contributed by Romain Goyet.

Requires review per [wiki:CodingStandard].

Keywords: third-party-plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions