SolidLabResearch / Bashlib

A Node.JS and CLI interface for Solid
https://solidlabresearch.github.io/Bashlib/
16 stars 7 forks source link

solid.js auth create-token prompt "Do you want to create an authentication token for ...": the "..." refers to the wrong WebID #39

Open mvanbrab opened 1 year ago

mvanbrab commented 1 year ago

Example (because bob was active, the prompt says bob while we request a token for ann):

$ sld auth show
http://localhost:3000/bob/profile/card#me - auth token 
$ sld auth list
http://localhost:3000/bob/profile/card#me - auth token 
$ sld auth create-token -v -b "http://localhost:3000/" -n anns-auth-token -e ann@test.edu -p annIsTheBest123
Do you want to create an authentication token for http://localhost:3000/bob/profile/card#me? [Y/n] 
Successfully created new token anns-auth-token
$ sld auth list
http://localhost:3000/bob/profile/card#me - auth token 
http://localhost:3000/ann/profile/card#me - auth token 

(Note: sld is an alias for node bin/solid.js)

mvanbrab commented 1 year ago

See also this comment on issue 38