mubot-server
Version:
A server for mubot
26 lines (23 loc) • 448 B
HTML
<html>
<head>
<script src="/profile/solid-client.min.js"></script>
</head>
<body>
<a href="#" onclick="login()">Login</a>
<script>
var solid = SolidClient
console.log(solid)
var login = function() {
solid.login().then(function (webId){
console.log("webId")
console.log(webId)
window.webid = webId
}).catch(function (err) {
console.log("err")
console.log(err)
})
}
</script>
</body>
</html>