Create custom links on the login page

We’ve added support for including custom links on the login page, without modifying the theme. This support is already enabled in the subversion version of simpleSAMLphp.

In authsources.php, you may add links by doing something like this:

    'core:loginpage_links' => array(
        array(
            'href' => SimpleSAML_Module::getModuleURL('openid/openidtest.php'),
            'text' => '{openid:dictopenid:openidtestpage}',
        ),
        array(
            'href' => 'http://uninett.no',
            'text' => array('en' => 'UNINETT Home page', 'no' => 'UNINETT sin hjemmeside'),
        ),
    )

Leave a Reply