Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluesky: handle federated PDSes #1606

Open
snarfed opened this issue Nov 8, 2023 · 6 comments
Open

Bluesky: handle federated PDSes #1606

snarfed opened this issue Nov 8, 2023 · 6 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Nov 8, 2023

Bluesky is federating internally, and it's hitting us! 😁 bluesky-social/atproto#1832 . We need to start resolving handles and DIDs to users' individual PDSes and make calls to them instead of bsky.social, or at least auth calls and get timelines etc from the prod AppView api.bsky.app. Not sure which we'll prefer. cc @JoelOtter

@snarfed
Copy link
Owner Author

snarfed commented Nov 8, 2023

Sounds like this isn't actually a priority until real federation. From bluesky-social/atproto#1832 :

Client apps, bots, and other integrations can continue to connect to bsky.social as an API endpoint, and requests will be proxied to the appropriate endpoint. They do not need to connect directly to the account's PDS for now, especially for authentication (login and session refresh)

@snarfed
Copy link
Owner Author

snarfed commented Nov 15, 2023

Most of the work here will probably happen in snarfed/lexrpc#4

@benharri
Copy link

I am running into this now that I have completed my PDS migration. Holler if there's any way I can help!

@benharri
Copy link

thoughts on adding a service field to the login form so you don't have to do the resolution every time? the main bsky app makes you pick a service when you log in

@snarfed
Copy link
Owner Author

snarfed commented Nov 25, 2024

@benharri hmm! I could, but I think I'd prefer to discover the PDS from the DID doc. Easier UX for users, and logging in is rare, so I'm not worried about load.

Sorry I haven't gotten to this yet! I've been focused on Bridgy Fed. Happy to help if you want to dive in here! The work might end up all in lexrpc, eg snarfed/lexrpc#4

@benharri
Copy link

Makes sense! I will pull down lexrpc and see what I can do :)

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

No branches or pull requests

2 participants