wiki:ScriptAuthPlugin

Version 1 (modified by Carsten, 14 years ago) (diff)

New hack ScriptAuthPlugin, created by Carsten

Script authentication for AccountManagerPlugin

Description

Similar to normal HTTP Authentication, this plugin uses explicit URL parameters for transferring the username and passwort to a web script that implements the check and returns the authentication result in the HTTP response code. When possible, the users email address is transferred and set as well.

Bugs/Feature Requests

Existing bugs and feature requests for ScriptAuthPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:scriptauthplugin here].

Source

You can check out ScriptAuthPlugin from here using Subversion, or browse the source with Trac.

Example

This plugin issues a HTTP GET request of the form

http://www.example.org/my_auth.php?u=username&p=password

and evaluates the HTTP response code to learn whether the password was valid.

Recent Changes

7394 by Carsten on 2010-01-13 22:23:40
Added the very important URL encoding for the username and password parameters. The encoding of other parts of the URL is up to the user (option 'script_auth_url').
7388 by Carsten on 2010-01-13 18:33:28
Initial import of files.
7387 by Carsten on 2010-01-13 15:40:12
New hack ScriptAuthPlugin, created by Carsten
(more)

Author/Contributors

Author: Carsten
Maintainer: Carsten
Contributors: