JSFiddle - React, Tailwind, and code Playground
by brigand
HTML
<script src="https://auth.local.sfrhub.com/sdk.js"></script>
JavaScript
const auth = new SfrAuth({ apiUrl: 'https://auth.local.sfrhub.com'});
auth.init()
auth.getSession().then(r => {
console.log('Success', r);
}, r => {
console.error('Error', r);
});