pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.22k stars 333 forks source link

OAuth scopes #129

Open evanp opened 12 years ago

evanp commented 12 years ago

Clients should be able to ask for different levels of access. Right now I can think of these levels:

There's probably a lot more.

clacke commented 11 years ago
matzegebbe commented 10 years ago

We should be able to delete an access over the WUI after it was granted. (remove the accesstoken from database)

evanp commented 6 years ago

So, I worked on this for #530 , and after talking with @aaronpk I picked three scope values:

I am not sure if we need more fine-grained scopes than that. With scopes, you trade off fine-grained control ("only allow this client to post Like activities on these servers", "only allow this client to read my followers but not my inbox") for user interface (there are so many options that people just click "OK" no matter what).

I think the above levels are probably enough. You can see the concerns that have come up, linked to this issue, and the three scopes mentioned cover those cases.