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

Provide easy way to use cli applications as clients #178

Open
elf-pavlik opened this issue Sep 10, 2021 · 1 comment
Open

Provide easy way to use cli applications as clients #178

elf-pavlik opened this issue Sep 10, 2021 · 1 comment

Comments

@elf-pavlik
Copy link
Member

This steams out from: #139 (comment)

We should document how developers (unlikely regular users) can use command line tools and access data as clients.

During next AuthN meeting we may discuss client credentials flow. This might be enough to build a straight forward strategy to use CLI tools.

@elf-pavlik
Copy link
Member Author

elf-pavlik commented Mar 10, 2023

IMO this issue also depends on a resolution to solid/specification#504
Once resolved we need to describe publishing a WebID for the CLI client, which users should be able to do in their storage.
The user's Authorization Agent should be able to do it for them since they will still need to create an authorization for that CLI client. I'll draft the initial information sometime this month. This should not affect the spec; it can be explained in one of the primers. The flow I currently think of:

  1. User generates a key pair for their CLI client
  2. User authorizes their CLI client
    a) User provides a copy of the public key to their Authorization Agent
    b) Authorization Agent creates WebID document for that client, including its public key
    c) User gets WebID for their CLI client
  3. User uses provided WebID and generated keypair with their CLI client (via config, shell variables, flags, etc.)

We should also pick up work on two issues below since someone using CLI might want to do some generic access and grant that CLI client escalated privileges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant