Thiss.io Login
This page is for testing the Discovery Service for thiss.io. .
Note that in this demo the origin for the persistence service is the same as that for the demo page, so storage access will be 1st party, and the Storage Access API will not be used.
To use in your web application include the following code:
<script src="https://ds.qa.swamid.se/thiss.js"/>
<div id="login"> </div>
<script>
window.onload = function() {
thiss.DiscoveryComponent({
loginInitiatorURL: 'https://localhost/Shibboleth.sso/Login?target=https://google.com',
}).render('#login');
};
</script>
To use a trust profile to pre-filter the results in the discovery service, if using shibboleth's session initiator, you would add a `trustProfile` query parameter to the DS URL configured into Shibboleth. Alternatively, you can use the URL of the discovery service as `loginInitiatorURL`, and configure the `DiscoveryComponent` with `entityID` & `trustProfile` with code like:
<script src="https://ds.qa.swamid.se/thiss.js"/>
<div id="login"> </div>
<script>
window.onload = function() {
thiss.DiscoveryComponent({
loginInitiatorURL: 'https://use.thiss.io/ds/?return=https%3A//example.com/Shibboleth.sso/Login%3Ftarget%3D/sign',
entityID: 'https://example.com/shibboleth',
trustProfile: 'some-profile',
}).render('#login');
};
</script>