Skip to content

Commit

Permalink
profile.yaml: force sending access token on all requests
Browse files Browse the repository at this point in the history
...to make sure those don't end up with 403 in cases like
quotient-im/libQuotient#797
  • Loading branch information
KitsuneRal committed Oct 15, 2024
1 parent e2628d6 commit 7152e8f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/api/client-server/profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ paths:
own displayname or to query the name of other users; either locally or
on remote homeservers.
operationId: getDisplayName
security:
- accessTokenQuery: []
- accessTokenBearer: []
parameters:
- in: path
name: userId
Expand Down Expand Up @@ -178,6 +181,9 @@ paths:
own avatar URL or to query the URL of other users; either locally or
on remote homeservers.
operationId: getAvatarUrl
security:
- accessTokenQuery: []
- accessTokenBearer: []
parameters:
- in: path
name: userId
Expand Down Expand Up @@ -229,6 +235,9 @@ paths:
to fetch the user's own profile information or other users; either
locally or on remote homeservers.
operationId: getUserProfile
security:
- accessTokenQuery: []
- accessTokenBearer: []
parameters:
- in: path
name: userId
Expand Down

0 comments on commit 7152e8f

Please sign in to comment.