Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Please start here if you want to connect your service to the SURFconext platform

Creating a simple SP from scratch

...

  • The resulting private key (saml.key) and certificate (saml.crt) need to be placed in the cert/ subdirectory in the SimpleSAMLphp root (/var/simplesaml).

The 

Tooltip
linkTextUnderlinetrue
linkTextconfiguration file
stylewhite
alignmentleft

 thus becomes:

Code Block
languagephp
<?php
$config = [
    // This is a authentication source which handles SimpleSAMLphp admin authentication.
    'admin' => [
        'core:AdminPassword',
    ],

    // An authentication source which can authenticate against SURFconext
    'default-sp' => [
        'saml:SP',
        'privatekey'  => 'saml.key',
        'certificate' => 'saml.crt',
        'idp' => 'https://engine.test.surfconext.nl/authentication/idp/metadata',

        // The entries below are all OPTIONAL but RECOMMENDED to tell SURFconext
        // some details about your service.
        'name' => [
                'en' => 'Name of the Service',
                'nl' => 'Naam van de Dienst',
        ],
 
        'description' => [
                'en' => 'Description of the Service',
                'nl' => 'Omschrijving van de dienst',
        ],

    ],
];

...