solid-auth-client icon indicating copy to clipboard operation
solid-auth-client copied to clipboard

readme.md important typo

Open gibsonf1 opened this issue 5 years ago • 0 comments

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.

gibsonf1 avatar Sep 20 '20 16:09 gibsonf1