Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two different users same device explanation #1435

Open
innofarah opened this issue May 5, 2024 · 0 comments
Open

two different users same device explanation #1435

innofarah opened this issue May 5, 2024 · 0 comments

Comments

@innofarah
Copy link

1- When I try to upload to my web3.storage space using a different email address than my account's email as a test (in a node.js application using the w3up-client login method and then through uploadCar), I get in my application the error "Agent has no proofs for did:key:..." and I am properly not able to upload data using it, since I gave it no delegation.

2- However also, if I then use my account's email, verify it, upload data, and then try again to use the other email as a login email, the data upload is successful.

  • I was able to get this result (in point 1-) after I deleted the access file in .config/w3access which was created after the first login using my account's email. Otherwise (before the deletion), I was able to access my account's space and upload data by using a different email than my account's email. Is that just because I am on the same device and the same access data is being used I guess? Is that the proper and expected behavior? In that case 2 users that use the same device would be able to directly access the same space without explicit delegations? or is there more to it to be done delegation-wise that I am just not aware of? Is this the expected use of "login" to just grant access to a device/agent? Thanks for clearing any misunderstanding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant