Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Interacting with solid pods from a client-side/static/javascript web interface

There are two important files here:

  • We built a JavaScript interface to deal with reading and parsing Events in solidInterface.ts.
  • Which gets called from the front-end in in eventStore.ts

Authenticated requests

By default, solid-client functions make unauthenticated requests. To perform read/write operations on restricted Resources (i.e., not open to the general public), the user must first authenticate as a user who has appropriate access to that Resource. Then, to make authenticated requests, pass to the various read/write functions the authenticated Session’s fetch function.

- From Inrupt Read/Write Structured Data docs #Required Access

NOTE: (At least on Parcel) re-importing the fetch function will not automatically authenticate as well.

Important external docs