DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedauth

feedauth Plugin

Compatible with DokuWiki

Lemming

plugin Send an “authorization required” header in the feed

Last updated on
2016-02-03
Provides
Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with authentication, feed, rss

DokuWiki's RSS feed does honor the ACL settings. This means info about read restricted pages are only in the feed when a permitted user logged in. The login can be done by appending username and password to the feed but that's quite insecure.

An alternative is to pass credentials through HTTP basic auth. However some feed readers only do that when asked so, by the webserver. This plugin makes this possible by sending the needed header either on request or always.

Note: basic auth logins only work when PHP is running as Apache module.

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Changes

Usage

Once installed, you can add the parameter feedauth to any of DokuWiki's feeds to make it request authorization for non logged in users.

Examples:

http://yourserver.com/dokuwiki/feed.php?feedauth=1
http://yourserver.com/dokuwiki/feed.php?content=html&feedauth=1

If you set the always config option it will always request authorization from anonymous users.

plugin/feedauth.txt · Last modified: 2023-10-30 23:31 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki