You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solid.auth.login(authEndpoint).then(function(webid){// authentication succeeded; do something with the WebID stringalert('Success! You are logged in as : '+webid);localStorage.setItem('user',webid);Solid.identity.getProfile(webid).then(function(parsedProfile){console.log('getProfile result: %o',parsedProfile)console.log('Account storage root: %s',parsedProfile.externalResources.storage)// array of URIs })storage=parsedProfile.externalResources.storage[0];console.log(storage);});window.user=webid;}).catch(function(err){// authentication failed; display some error messagealert(err);});
Hi, great that you're building a Solid app!
I tried to click 'Login' on http://webize.github.io/2048/ but got an alert saying
[object Object]
, any idea what might be causing that?The text was updated successfully, but these errors were encountered: