fix(activitypub): check OAuth scopes on C2S endpoints
The C2S routes and the outbox/followers/following/replies collections accepted a token with any scope. Requests with an OAuth token now need the matching scope; HTTP signatures and Basic auth are not changed.
This commit is contained in:
parent
9edce3a0a6
commit
da7e75ca73
3 changed files with 147 additions and 0 deletions
1
changelog.d/ap-c2s-oauth-scopes.security
Normal file
1
changelog.d/ap-c2s-oauth-scopes.security
Normal file
|
|
@ -0,0 +1 @@
|
|||
Check OAuth token scopes on the ActivityPub C2S endpoints; posting to the outbox with a token now needs the `write` scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue