Versions Compared

Key

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

...

This example instructs Shibboleth SP login handler to use eduTEAMS discovery as a discovery service.

Code Block
titlefile:/etc/shibboleth/shibboleth2.xml
<SSO
    discoveryProtocol="SAMLDS" 
    discoveryURL="https://discovery.eduteams.org/wayf.php">
    SAML2 
</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 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="/Shibboleth.sso/Login" onclick="startOverlay(event)">Log in</a>