Skip to content
Snippets Groups Projects

Authenticate and subscribe to streaming after connection

Merged tusooa requested to merge tusooa/pleroma-fe:tusooa/streaming-op-after-conn into develop

Changes

  • Authenticate via the post-connect message pleroma:authenticate, which is better than passing the access token in the query string, and way less hacky than the sec-websocket-protocol. The support has been added one and a half years ago ( pleroma!3864 (merged) ) so we can reasonably assume people's backend will support it.
  • As a result, we have to use the unified streaming endpoint (because we need to authenticate first, and then subscribe to a topic)
  • In the future, we can extend this to other timelines.

pleroma!3864 (merged)

Merge request reports

Merge request pipeline #50666 passed

Merge request pipeline passed for dfbc2704

Approval is optional

Merged by HJHJ 2 months ago (Dec 31, 2024 12:13pm UTC)

Merge details

  • Changes merged into develop with f6a1c4f2.
  • Deleted the source branch.

Pipeline #51169 passed

Pipeline passed for f6a1c4f2 on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading