How to 'store' webID of logged in user

Using this tutorial, I have almost everything I want my first web app using solid to do. However, I was wondering wether the WebID/Pod Url can be filled in automatically using the logged in user his WebID/Pod Url?

Hi Kyo,

The return value of getDefaultSession (assigned to session in that tutorial) has a property info which has a property webId if the user is logged in. Thus, you can display the WebID by reading it from session.info.webId.

1 Like

Thank you, Vincent!

1 Like