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

Add "Login with Bluesky" as an Auth Config Setting #4745

Open
immber opened this issue Feb 17, 2025 · 1 comment
Open

Add "Login with Bluesky" as an Auth Config Setting #4745

immber opened this issue Feb 17, 2025 · 1 comment

Comments

@immber
Copy link
Contributor

immber commented Feb 17, 2025

Search Terms

Bluesky, bsky, oauth, login

Suggestion

Hi Coral Folx!
Since Coral already supports oauth login with Goole and FaceBook accounts, I'm wondering if there are any plans to add "Login with Bluesky" as an auth login option?

As of today bsky.social has over 31M users, and is rapidly growing. As users run screaming away from companies like X, FaceBook and even Google, my assumption is that login with Bluesky buttons will start popping up in a lot of places. I didn't see any existing issues requesting this feature before opening this one, but it seems like a feature that lots of sites already using Coral could be interested in having.

Coral already supports sharing Bluesky media embeds, so I'm hoping there might be plans for deeper integrations with Bluesky or the at-protocol. If not currently on your roadmap, is this something that ya'll would be open to an outside contributor working on it?

It looks like Bluesky offers an oauth client specifically for node integrations here: https://www.npmjs.com/package/@atproto/oauth-client-node

Use Cases

  1. Admin users could configure and enable/disable "Login with Bluesky" in a new section of Admin > Config > Auth. Allowing them to store their oauth client details.
  2. If enabled, commenters and moderators could then use their Bsky handle to "login" from the existing stream or admin login pages (similar to how facebook and google oauth flows work today)
  3. Users would have a bsky auth type profile in Coral's Db, similar to how FaceBook an Google accounts work in Coral today
@nick-funk
Copy link
Contributor

nick-funk commented Feb 18, 2025

Hello @immber! (nice to see you here!)

Yes, we do want to add an auth flow for Bluesky in near future. It's why we hurried to add Bluesky embeds! 😃

We're currently in the midst of building in more robust auth profiles for multi-variate logins tied to a user. I'm in the process of scaffolding integration testing around auth for similar purposes. So, since the flows will soon be well-tested, this is a great time to be adding a new auth flow!

We would definitely welcome any contributions you'd like to make and @tessalt approves as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants