nodeSolidServer / solid-auth-client

A browser library for performing authenticated requests to Solid pods
https://solid.github.io/solid-auth-client/
MIT License
95 stars 42 forks source link

readme.md important typo #169

Open gibsonf1 opened 4 years ago

gibsonf1 commented 4 years ago

In readme.md, using fetch is desribed:

const auth = require('solid-auth-client')
const { fetch } = solid.auth;

but this doesn't work. To make rdflib work with tokens, it would need to be:

const auth = require('solid-auth-client')
const { fetch } = auth.fetch;

I didn't realize my app hadn't been authenticating correctly until building our own solid server TrinPod, so this correction I think would be good to make for other solid app developers.