Versions Compared

Key

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

...

Code Block
titlefile:/etc/shibboleth/shibboleth2.xml
<SSO
    discoveryProtocol="SAMLDS" 
    discoveryURL="https://discovery.eduteams.org/wayf.php">
    SAML2 SAML1 
</SSO>

Embedded discovery

You may use the discovery in embedded fashion. In that case the page that triggers the authentication needs to include javascript in in  head element,

Code Block
titleIncluding javascript
<head>
    <!-- HTML elements -->
    <script type="text/javascript" src="https://discovery.eduteams.org/ds.js"></script>
    <!-- HTML elements -->
</head>

...

Code Block
titleLogin element
<a href="/Shibboleth.sso/Login" onclick="startOverlay(event)">Log in</a>


SimpleSAMLphp

Please read SimpleSAMLphp documentation for more thorough information if needed.

Set discovery configuration

For SimpleSAMLphp, WAYF configuration is set in authsources.php configuration file.

Code Block
titleauthsources.php
'default-sp' => array(
    'saml:SP',
    'entityID' => 'https://sp.example.com/simplesaml/',
    'idp' => NULL,
    'discoURL' => 'https://ds.eduid.cz/wayf.php',
    'privatekey' => 'example.key'
),


Embedded discovery

You may use the discovery in embedded fashion. In that case the page that triggers the authentication needs to include javascript in  head element,

Code Block
titleIncluding javascript
<head>
    <!-- HTML elements -->
    <script type="text/javascript" src="https://discovery.eduteams.org/ds.js"></script>
    <!-- HTML elements -->
</head>

and then display a element triggering the authentication.

Code Block
titleLogin element
<a href="/simplesaml/module.php/core/authenticate.php" onclick="startOverlay(event)">Log in</a>

...