1.0.0 • Published 5 years ago

@theidentityselector/thiss-login v1.0.0

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
5 years ago

thiss.io login component

Maintenance Coverage Status Build Status Known Vulnerabilities Dependencies

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>