...
Code Block |
---|
title | file:/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 |
---|
title | Including javascript |
---|
|
<head>
<!-- HTML elements -->
<script type="text/javascript" src="https://discovery.eduteams.org/ds.js"></script>
<!-- HTML elements -->
</head> |
...
Code Block |
---|
|
<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 |
---|
|
'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 |
---|
title | Including 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 |
---|
|
<a href="/simplesaml/module.php/core/authenticate.php" onclick="startOverlay(event)">Log in</a> |
...