thiss.io login component
Install via npm is easiest:
npm install [--save] @theidentityselector/thiss-login
A set of clients for the thiss.io service: persistance and discovery. Usage is prettys simple. Load the js thiss-login.js somehow ...
CommonJS
var thiss = require("thiss-login.js")
ES6
import {DiscoveryComponent} from "thiss-login";
Browser
<script src="/thiss-login.js"/>
Basic Usage
<html>
<body>
...
<div id="login"/>
<script>
window.onload = function() {
thiss.DiscoveryComponent.render({
loginInitiatorURL: 'https://sp.example.com/Shibboleth.sso/Login?target=https://google.com',
}, '#login');
};
</script>
</body>