Skip to content

Improve Pixelfed app compatibility#284

Merged
akirk merged 2 commits intomainfrom
pixelfed-improvements
Mar 25, 2026
Merged

Improve Pixelfed app compatibility#284
akirk merged 2 commits intomainfrom
pixelfed-improvements

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Feb 28, 2026

Fixes #280.

Summary

  • Add created_at and refresh_token placeholder fields to token responses to prevent Pixelfed apps from crashing on undefined values
  • Limit token request scopes to what was actually authorized in the auth code, since Pixelfed apps request more scopes than they registered with
  • Filter timelines to media-only posts for Pixelfed apps

Test plan

  • Verify Pixelfed Android and iOS apps can complete the OAuth flow
  • Verify token responses include created_at and refresh_token
  • Verify granted scopes don't exceed what was authorized
  • Verify Pixelfed app timelines only show posts with media attachments

Fix token responses to include created_at and refresh_token fields,
limit token scopes to what was actually authorized, and filter
timelines to media-only posts for Pixelfed apps
@akirk akirk merged commit 74b9c02 into main Mar 25, 2026
17 checks passed
@akirk akirk deleted the pixelfed-improvements branch March 25, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pixelfed App Login

1 participant