There is no license information available for the latest version (v1.1) of this package.

This module provides an interface to do automatic testing of authentication sources.

Installs: 13 060

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 9

Forks: 0

Open Issues: 0


v1.1 2019-11-26 08:40 UTC

This package is auto-updated.

Last update: 2021-02-24 21:43:14 UTC


Build Status Coverage Status Scrutinizer Code Quality

Autotest module

This module provides an interface to do automatic testing of authentication sources.


Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following command in the root of your SimpleSAMLphp installation:

composer.phar require simplesamlphp/simplesamlphp-module-autotest:dev-master

where dev-master instructs Composer to install the master branch from the Git repository. See the releases available if you want to use a stable version of the module.

The module is enabled by default. If you want to disable the module once installed, you just need to create a file named disable in the modules/autotest/ directory inside your SimpleSAMLphp installation.


This module provides three web pages:

  • SIMPLESAMLPHP_ROOT/module.php/autotest/login.php
  • SIMPLESAMLPHP_ROOT/module.php/autotest/logout.php
  • SIMPLESAMLPHP_ROOT/module.php/autotest/attributes.php

All the web pages have a mandatory parameter 'SourceID', which is the name of the authentication source.

On success, the web pages print a single line with "OK". The attributes page will also list all the attributes of the user. On error they set the HTTP status code to 500 Internal Server Error, print a line with "ERROR" and then any information about the error.

Note that you still have to parse the login pages to extract the parameters in the login form.