nodeSolidServer / solid-auth-client

A browser library for performing authenticated requests to Solid pods

Home Page:https://solid.github.io/solid-auth-client/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

readme.md important typo

gibsonf1 opened this issue · 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.