Trouble logging in via solid-shell


#1

I am trying to access private data via @jeffz’s solid-shell, but the authentication seems not to work. I placed a .solid-auth-cli-config.json in my home directory like this:

{
  "idp" : "https://xyz.solid.community",
  "username" : "xyz",
  "password": "correct-password",
  "base": "https://xyz.solid.community"
}

Trying to access a private directory fails with 401

▶ npx sol shell
logging in ...
logged in
> rf /private
fetching from https://xyz.solid.community/private
401 (Unauthenticated) https://xyz.solid.community/private/

Investigating this, I found out that the session resolved from fc.login( ) is undefined


#2

Sorry, it is using an old solid-auth-cli. Change the version of solid-auth-cli in the package.json to 1.0.10 and run npm install and the login for solid-shell should work. But if you’re looking for copy-folder … the new solid-file-client is due out next week and has a much updated copy-folder. I’ll need to fix solid-shell to use it.


#3

Ah thanks, I am actually aiming for copy-folder, so I will wait for the new version and an updated solid-shell.