Extended Spec, email-less tokens. That means that we need an endpoint to generate these.
Email-less tokens get associated on signup, this is the flow
- You generate a token which may also confer rights like automatically adding a user to a group
- On redemption the redemption link provides an email and optional user / username.
So, we generate the unique one use tokens and the third party fills the blanks, for example:
https://meta.discourse.org/invites/GUID?username=bob&email=bob@bob.com&name=Something
GUIDs can only be redeemed once, we have no idea what the email is until they finally accept it.