What is the best workflow for inviting people to a private Space?

Happy Space Day! I’m curious about best-practice workflows for inviting people to private Spaces, especially if some of those people don’t have ATProto accounts yet. This is more about the social engineering of the process than the software and protocol.

Below is my current understanding of the process. I’d welcome corrections of my understanding or ways to simplify it. I have a few ideas for helper processes that can simplify this, but I want to confirm I understand the current state first.

Background

The Spaces beta lets users create private items inside a private space. A good example is a private event: only invited guests should see the description, address, pictures, guest list, etc. I expect most event apps will make each private event its own space, as Atmo.rsvp already does (shoutout to Atmo for their quick and impressive implementation!).

The workflow right now seems fairly complex and intimidating for the average user. Say I’m hosting a private event and inviting friends, some of whom are on ATProto and some who aren’t.

Current flow for people with ATProto accounts

  1. I add their handle or DID to my private space. This does not notify them.[^1]
  2. I send them the link to the private item (for example, the event). They open it and log in with their own handle or DID to see it.

I’m not sure how best to send that link. Do I DM everyone on Bluesky?

Example screenshot from Atmo’s implementation:

Current flow for people without ATProto accounts

For friends who are not on ATProto, I would need to:

  1. Message them (e.g., by email or text) and ask them to create an ATProto account.

  2. Ask them to send me their handle once they’ve created the account.

  3. Go into my space dashboard and add their handle to the private space for the event.

  4. Message them again with the link to the private space and ask them to login.

  5. They will go through a login and OAuth flow with the app, and then be able to see the space.

Using email for people without ATProto accounts

Because a space can set its own rules for issuing credentials, I could, as the space authority, build an email-based flow. For example: (1) the app requests the user’s email address during OAuth, and (2) I set a rule that anyone who logs in with an account tied to an email address I’ve pre-approved can view the space.[^2] This saves one step, but the flow is still complicated.

Wrapping up

Is my understanding correct? Is there a simpler path I’m missing?

Endnotes

[^1] How could a notification be sent? Can apps send bulk DMs over the chat.bsky.convo protocol? Handles don’t reveal email addresses, though they can be shared with apps through specific OAuth grants. But if Alice uses an app to invite Bob to an event, and Bob has never used that app, then the app will have no way of knowing Bob’s email address.

[^2] Do all PDSes verify email addresses properly, or could some spoof an email address?

The flow would depend on how the app implements it. If you’re using atmo.rsvp then they’d go through the sign-up process that the app walks them through. If you’re building your own app you’d want to use language that made it clear what’s going on with the account sign up. But at it’s not much different from any other app that needs an account to use.

[^2] Do all PDSes verify email addresses properly, or could some spoof an email address?

No, you should allowlist trusted PDS hosts if you’re going to be using the email addresses. For untrusted PDS hosts you’d want a manual verification.

For inviting people to spaces I don’t believe there are any best practices around that yet. So whatever works best for your particular app.

1 Like

i agree things should be way simpler and that currently mostly depends on how an app implements things, spaces are still very new so i think everything is still figuring things out here.

for atmo.rsvp i added invite links now too that lets people rsvp without you having to add everyone so now its just:

  1. send invite link
  2. people create account
  3. they rsvp

try this: Invitation — atmo.rsvp

(for how this works: we basically (ab)use the hosts signed in session on atmo.rsvp to add people to a space if they open the correct invite link with a secret)

but for many private events i think that is often still too much (i dont wanna have to create an account to rsvp to a friends birthday party), so i’m also looking into ways to let people rsvp on private events without creating an account (possibly by saving the rsvp record in the hosts PDS and adding a for: 'name' field or something like that?)

the other open topic is notifications, which atmo.rsvp will have soon too (probably web push only for the start) and for invites that might be a good thing to have as a community lexicon generic thing (just a i invite @handle to my space record that i publish after ive added someone to a space, though for some things you dont want that to be public either ^^) (there is a lexicon community WG meeting in like 20 minutes, might bring that up https://atmo.rsvp/p/did:plc:2uwoih2htodskvgocarwv5eq/e/3n2ocqgbimta3)

3 Likes

This is great, @flo-bit.dev !! Quick work.

When I click your invitation link, I get the message “Invitation: The host needs to sign in to atmo again before this link works. Let them know.” I’m guessing a timeout on the host’s session?

Through my fellowship with New_ Public, I’m working to solve user experience problems across ATProto open source apps. Perhaps I/we could writeup best practices for simple, easy Space invite workflows?

I love the idea of a standardized invites lexicon. Tools and packages for invites could then be reused across applications, even when the invite data is private. Making it easy for app builders to add invite workflows to their app would help a lot with momentum for the Atmosphere.

@hadsie.com – thanks so much for your response too! Using an allowlist of trusted PDS hosts, which allows us to trust the email address associated with the account, makes a lot of sense.

2 Likes

ah yeah whoops, fixed that