-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Pleroma/Mastodon oauth should require no scopes #2149
Comments
Liberapay does not request any specific scope when connecting a Mastodon or Pleroma account. I don't know if it's possible to explicitly request access to public information only. |
https://github.com/liberapay/liberapay.com/blob/master/liberapay/elsewhere/mastodon.py#L62
|
OAuth Scopes - Mastodon documentation
|
A possible solution to this issue is to not use OAuth at all and verify ownership in another way (e.g. by asking the user to send a private message to a bot or add a public link to their Liberapay profile in their Mastodon settings). |
Use Specifying an empty value is not the same as not specifying. At least on Pleroma, this works:
and then GET |
That's true, but the page doesn't actually work. Clicking on the “Approve” button results in an error message being displayed. |
Ummm, it turns out you can specify a fake scope
|
0f54c5f reduces the permissions requested from Mastodon to |
Pleroma does support |
After testing again, I've found that Pleroma does support granting the |
The app should be registered with scopes="read:accounts". |
That would prevent requesting other |
Then I would say please go with this approach and set OAuth aside |
Yeah, having a rel=me public link to their Liberapay page on their profile seems the sensible way of verifying identity. People are very likely to have that on their accounts anyway. At the very least could this be offered as an alternative to OAuth? Speaking personally I'm very nervous of giving full read access to anyone, especially if they don't need it. |
Currently it is requiring "read," but this allows the app to see anything I can see, including any content privately addressed to me. This is too much permission. Here you are just trying to verify the identity, so you should not be allowed to read any private stuff.
The text was updated successfully, but these errors were encountered: