Skip to content

Conversation

@tompscanlan
Copy link
Contributor

Summary

  • Fixes Bluesky avatar not displaying for users logging in via Bluesky OAuth
  • The photo field is a FileEntity relation (integer FK), not a URL string
  • Bluesky avatars are now stored in preferences.bluesky.avatar where the frontend's useAvatarUrl composable already looks for them

Changes

  • Pass avatar URL through auth flow to validateSocialLogin
  • Store avatar in preferences.bluesky.avatar for new Bluesky users
  • Update avatar in preferences when existing user logs in with changed avatar
  • Add unit tests for avatar storage in preferences

Test plan

  • Unit tests pass for new avatar preference storage
  • Manual test: Login via Bluesky, avatar displays correctly in UI

The photo field is a FileEntity relation (integer FK), not a URL string.
Bluesky avatars are now correctly stored in preferences.bluesky.avatar
where the frontend already looks for them via useAvatarUrl composable.

Changes:
- Pass avatar URL through auth flow to validateSocialLogin
- Store avatar in preferences.bluesky.avatar for new Bluesky users
- Update avatar in preferences when existing user logs in with new avatar
- Add tests for avatar storage in preferences
@tompscanlan tompscanlan merged commit ea82c41 into main Jan 16, 2026
4 checks passed
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.

2 participants